I got the following error for https://github.com/sorin-ionescu/homebrew-personal/blob/master/sqlite.rb
Is this because this formula is too old and does not support my OS version?
$ brew install sorin-ionescu/homebrew-personal/sqlite
==> Tapping sorin-ionescu/personal
Cloning into '/usr/local/Homebrew/Library/Taps/sorin-ionescu/homebrew-personal'...
remote: Enumerating objects: 19, done.
remote: Counting objects: 100% (19/19), done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 19 (delta 1), reused 6 (delta 0), pack-reused 0
Unpacking objects: 100% (19/19), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/sorin-ionescu/homebrew-personal/dvtm.rb
dvtm: undefined method `sha1' for #<BottleSpecification:0x00007f8d5a983ef8>
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/sorin-ionescu/homebrew-personal/osxfuse.rb
osxfuse: unknown version :snow_leopard
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/sorin-ionescu/homebrew-personal/httpie.rb
httpie: Unsupported special dependency :python
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/sorin-ionescu/homebrew-personal/minidlna.rb
minidlna: undefined method `sha1' for #<Resource::PatchResource:0x00007f8d5a0b4250>
Error: Cannot tap sorin-ionescu/personal: invalid syntax in tap!
This very custom tap is outdated. The command you used is totally right.
Related
I'm trying to build chromium in qtWebEngine 5.15, but I came across this error.
Any idea what might cause an Invalid page size error?
./../../3rdparty/chromium/base/process/process_metrics_mac.cc:303:17: error: static_assert expression is not an integral constant expression
static_assert(PAGE_SIZE % 1024 == 0, “Invalid page size”);
I just came across an issue with running minigui example.
I download qt-4.8.6 and install correctly on my Ubunut 14.04.
I can run qvfb without any problems, but when I want to run housekeeper (an example from minigui) something wrong happen:
start-qvfb :/opt/Qt-x11-4.8.6/bin/qvfb pcxvfb 3351 XVFB-for-MiniGUI-3.0-(Gtk-Version) 800x600-16bpp
Unknown parameter 3351
Usage: pcxvfb [-width width] [-height height] [-depth depth] [-zoom zoom][-mmap] [-nocursor] [-qwsdisplay :id] [-x11display :id] [-skin skindirectory]
Supported depths: 1, 4, 8, 12, 15, 16, 18, 24, 32
NEWGAL>PCXVFB: Wait too long for CLIENT.
NEWGAL: Does not find matched engine: pc_xvfb.
KERNEL>InitGUI: Can not get graphics engine information!
What should I do?
I just solved this annoying problem by using gvfb instead of qvfb,I download the gvfb v1.0 from http://www.minigui.org/en/download/.
Then:
tar -xzvf gvfb-1.0.0.tar.gz
cd gvfb-1.0.0
cmake .
In this step,you may come across :
Linking C executable gvfb
/usr/bin/ld: CMakeFiles/gvfb.dir/gvfb_linux.o: undefined reference to symbol 'XkbGetIndicatorState'
//usr/lib/i386-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [src/gvfb] 错误 1
make[1]: *** [src/CMakeFiles/gvfb.dir/all] 错误 2
make: *** [all] 错误 2
To solve this error:
you need to add -lX11 -L/usr/lib/i386-linux-gnu/libXtst.a -L/usr/lib/i386-linux-gnu/libX11.a to gvfb-1.0.0/src/CMakeFiles/gvfb.dir/link.txt (Assume your host are 32-bit.)
then you can run make and make install.
You can run an example offered by minigui to test whether you have installed successfully or not !!!
I am using this site here. http://retroshare.sourceforge.net/wiki/index.php/Win32CompileLibrariesMingw#Compile_OpenSSL
and I have come across a problem. The error is
In file included from /usr/include/w32api/windows.h:95:0, from sqlite3.c:9607:
/cygdrive/c/sqlcipher-2.2.0/../openssl-1.0.1c/include/openssl/ossl_typ.h:153:29: error: expected ‘)’ before numeric constant typedef struct X509_name_st X509_NAME;
/cygdrive/c/sqlcipher-2.2.0/../openssl-1.0.1c/include/openssl/ossl_typ.h:199:33: error: expected ‘)’ before numeric constant typedef struct ocsp_response_st OCSP_RESPONSE;
Makefile:573: recipe for target 'sqlite3.lo' failed
make: *** [sqlite3.lo] Error 1
I opened the ossl_typ.h file to find only 1 line in it so i am not able to trace the error. Thank you for your help!
I came across the same problem trying to build sqlcipher. The problem is that recent versions of minGW define X509_NAME and OCSP_RESPONSE.
You need to add CFLAGS="-DNOCRYPT" to your ./configure, e.g. ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DNOCRYPT -lcrypto" in order to tell the compiler not to define these constants first.
Here is a link that explain the problem : http://cygwin.com/ml/cygwin/2012-12/msg00194.html
I am getting the followin error when trying to plot in GNU/octave:
octave:22> plot(b(:,2),b(:,4))
error: invalid conversion from real matrix to real scalar
error: __calc_dimensions__: expecting graphics handle as only argument
error: called from:
error: /usr/share/octave/3.6.2/m/plot/private/__go_draw_axes__.m at line 55, column 8
error: /usr/share/octave/3.6.2/m/plot/private/__go_draw_figure__.m at line 167, column 19
error: /usr/share/octave/3.6.2/m/plot/__gnuplot_drawnow__.m at line 86, column 5
octave:23>
The variable b is loaded from a csv file, as follows:
b=csvread("my.csv")
Content of my.csv
1,40.0942,0.775539,18.658
2,40.1882,0.857556,415.677
3,40.2818,0.858294,233.934
4,40.3748,0.887273,348.503
5,40.4669,0.908618,27.0149
6,40.558,0.908496,234.81
7,40.6478,0.911826,58.3943
8,40.7362,0.922848,204.128
9,40.823,0.928547,7.75615
10,40.908,0.920065,0.0654867
Sadly,sometimes the erros happens, others do not. (octave bug?)
Does anyone knows what is going on?
By the way, my systems is: Ubuntu 12.11, octave 3.6.2, Linux kernel 3.5.00-22-generic
Edit:
I think it is a bug. The foregoing error is caused by a plot called after a plotyy. To reproduce the error, execute these commands:
1> b=csvread("my.csv");
2> plot(b(:,2),b(:,4))
3> plotyy(b(:,1),b(:,2),b(:,1),b(:,4))
4> plot(b(:,2),b(:,4))
I'm using Google Closure and Google Library with my projects and I'm meeting troubles with warnings.
My project is made of ~50 files with somme small warnings (JSDoc mistakes). The problem is Google Library, when I'm compiling my project, a huge list of warnings come from the google's library, like this :
../Libs/Closure/closure/goog/uri/utils.js:255: WARNING - inconsistent return type
found : (null|string|undefined)
required: (null|string)
return uri && decodeURIComponent(uri);
^
../Libs/Closure/closure/goog/uri/utils.js:634: WARNING - inconsistent return type
found : (Array.<(string|undefined)>|undefined)
required: Array.<(string|undefined)>
return buffer;
^
../Libs/Closure/closure/goog/uri/utils.js:671: WARNING - inconsistent return type
found : (Array.<(string|undefined)>|undefined)
required: Array.<(string|undefined)>
return buffer;
^
../Libs/Closure/third_party/closure/goog/mochikit/async/deferred.js:623: WARNING - assignment to property deferred of goog.async.Deferred.AlreadyCalledError
found : (goog.async.Deferred|undefined)
required: (goog.async.Deferred|null)
this.deferred = deferred;
^
../Libs/Closure/third_party/closure/goog/mochikit/async/deferred.js:651: WARNING - assignment to property deferred of goog.async.Deferred.CancelledError
found : (goog.async.Deferred|undefined)
required: (goog.async.Deferred|null)
this.deferred = deferred;
^
I've got more than 300 warnings from Google Library and ~50 from my project. So, how can I hide google's library warnings and show my project warnings ?
I've tried to build my project with the stable Google Library and with the last from the SVN repository but I've always all this warning.
My compilation configuration :
../Libs/Closure/closure/bin/build/closurebuilder.py \
--root=../Libs/Closure/ \
--root=../Projects/myProject/ \
--namespace="Project" \
--output_mode=compiled \
--compiler_jar=../Libs/Closure/compiler.jar \
--compiler_flags="--third_party=../Libs/Raphael/raphaeljs_extern.js" \
--compiler_flags="--compilation_level=SIMPLE_OPTIMIZATIONS" \
--compiler_flags="--warning_level=VERBOSE" \
> ../../Projects/js/project_release.js
Thanks for your time!
To suppress all warning messages you should use:
--compiler_flags="--warning_level=QUIET"
instead of the verbose setting you currently have.
You may also want to check the grunt-closure-tools plugin for grunt that automates using closure's tools like the builder, compiler and depswritter.
You can use the #suppress tag in a file overview.
http://code.google.com/p/closure-compiler/wiki/Warnings##suppress_Tags
Another way is using --warnings_whitelist_file. Though, it's kind of tricky to make it working as expected. See details here: Supressing or resolving compiler errors in goog.base