Trouble with installing wxWidgets-3.0.2 for Code::Blocks - wxwidgets

I follow the instructions of wxWiki to install it. When I type make, I see sliding texts. At the end, I type make again to see everything is ok. But it gives me this:
void#linux:~/wxWidgets-3.0.2/gtk-build> make
(if test -f utils/wxrc/Makefile ; then cd utils/wxrc && make all ; fi)
make[1]: Entering directory '/home/emre/wxWidgets-3.0.2/gtk-build/utils/wxrc'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/emre/wxWidgets-3.0.2/gtk-build/utils/wxrc'

Related

Mounting s3 to wowza ec2: Can't 'make' s3fs-fuse

I'm trying to mount S3 bucket to a wowza ec2 instance bought from amazon marketplace, following this tutorial or any other. I can't make
[ec2-user#ip-172-31-46-59 s3fs-fuse]$ make
make all-recursive
make[1]: Entering directory `/home/ec2-user/s3fs-fuse'
Making all in src
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/src'
Making all in test
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/test'
Making all in doc
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/doc'
make[2]: Entering directory `/home/ec2-user/s3fs-fuse'
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse'
make[1]: Leaving directory `/home/ec2-user/s3fs-fuse'
[ec2-user#ip-172-31-46-59 s3fs-fuse]$ sudo make install
Making install in src
make[1]: Entering directory `/home/ec2-user/s3fs-fuse/src'
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/src'
/bin/mkdir -p '/usr/bin'
/usr/bin/install -c s3fs '/usr/bin'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/src'
make[1]: Leaving directory `/home/ec2-user/s3fs-fuse/src'
Making install in test
make[1]: Entering directory `/home/ec2-user/s3fs-fuse/test'
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/test'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/test'
make[1]: Leaving directory `/home/ec2-user/s3fs-fuse/test'
Making install in doc
make[1]: Entering directory `/home/ec2-user/s3fs-fuse/doc'
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/doc'
make[2]: Nothing to be done for `install-exec-am'.
/bin/mkdir -p '/usr/share/man/man1'
/usr/bin/install -c -m 644 man/s3fs.1 '/usr/share/man/man1'
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/doc'
make[1]: Leaving directory `/home/ec2-user/s3fs-fuse/doc'
make[1]: Entering directory `/home/ec2-user/s3fs-fuse'
make[2]: Entering directory `/home/ec2-user/s3fs-fuse'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse'
make[1]: Leaving directory `/home/ec2-user/s3fs-fuse'
Solved it by installing s3fs-fuse using yum and
sudo s3fs bucketFolder /var/www/html/Example-folder/ -o passwd_file=/root/.passwd-s3fs -o allow_other,umask=277,uid=500,gid=500,use_cache=/root/cache
​
You get the guid and uid by running id command as a regular user in the terminal. Create a cache folder if you intend on using cache. And the other options are needed to give the regular user access to the mounted partition.
The folder you want to mount should be empty ideally, otherwise, you get a warning

Redis-2.6.16 installation issue

I am trying to install redis-2.6.16 on windows using cygwin. I am getting below error.
Appreciate any help. Thanks.
/c/cygwin64/bin/cc: /c/cygwin64/bin/cc: cannot execute binary file
make[3]: *** [net.o] Error 126
make[3]: Leaving directory `/c/cygwin64/home/redis-2.6.16/deps/hiredis'
make[2]: *** [hiredis] Error 2
make[2]: Leaving directory `/c/cygwin64/home/redis-2.6.16/deps'
make[1]: [persist-settings] Error 2 (ignored)
CC adlist.o
/c/cygwin64/bin/cc: /c/cygwin64/bin/cc: cannot execute binary file
make[1]: *** [adlist.o] Error 126
make[1]: Leaving directory `/c/cygwin64/home/redis-2.6.16/src'
make: *** [all] Error 2
You can't use basic Redis on Windows, you have to use the binaries given by the unsupported port on Windows: https://github.com/MSOpenTech/redis
Basically, you can't just compile the C code of Redis on Windows. And this port has some drawbacks (as Windows does not support fork command), there are "stop the world" operations in it (that redis does not have in its official version): you can't use it for production.
That said, the stack says that cc is missing, you need a C compiler on cygwin, but that won't be enough to make redis work on Windows. Check the last link (github) and download the binaries if you do need to make redis work on Windows.

Mdtool generation of makefile

I'm currently developing a mono application under the gpl. Therefore I would like to provide a source package with makefile.
I used mdtool to generate simple makefiles:
mdtool generate-makefiles AudioCuesheetEditor.sln --simple-makefiles
After this, I can successfully run
./configure
and afterwards
make
But if I want to run
make install
it fails with this message:
[sven#Sven Downloads]$ make install
make[1]: Entering directory `/home/sven/Downloads'
make[1]: Leaving directory `/home/sven/Downloads'
make[1]: Entering directory `/home/sven/Downloads'
make pre-install-local-hook prefix=/usr/local
make[2]: Entering directory `/home/sven/Downloads'
make[2]: Leaving directory `/home/sven/Downloads'
make install-satellite-assemblies prefix=/usr/local
make[2]: Entering directory `/home/sven/Downloads'
mkdir -p '/usr/local/lib'
cp bin/Release /usr/local/lib/audiocuesheeteditor
cp: Directory „bin/Release“ left out
make[2]: *** [/usr/local/lib/audiocuesheeteditor] Error 1
make[2]: Leaving directory `/home/sven/Downloads'
make[1]: *** [install-local] Error 2
make[1]: Leaving directory `/home/sven/Downloads'
make: *** [install-recursive] Error 1
If you want to check the build, here's the package: http://sourceforge.net/projects/audiocuesheet/files/0.1.0/Audio%20Cuesheet%20Editor-src.tar.gz/download
Has anyone any idea, why this make install fails?
Makefile integration in MonoDevelop is kind of an abandoned project.
I recommend you to just use MSBuild files (.sln, .csproj, etc), then for building you would just call "xbuild" in your makefile. For installing you may want to create your custom "install" make target, or if you want to experiment doing installation via MSBuild/xbuild, then you may want to look at how are they doing it in the tasque project (source code here).

installing WordNet on Mac

I'm trying to install Wordnet 3.0 on my Mac which is OSX 10.8.
I've configured it, but when I try make,
I get a bunch of errors...
.....
/usr/include/tkDecls.h:1692: error: expected specifier-qualifier-list before ‘XColor’
make[2]: *** [wishwn-tkAppInit.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
and then if I proceed with make install
Making install in doc
Making install in html
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/WordNet-3.0/doc/html" || /Users/ravenyj/Desktop/WordNet-3.0/install-sh -d "/usr/local/WordNet-3.0/doc/html"
mkdir: /usr/local/WordNet-3.0: Permission denied
make[3]: *** [install-htmlDATA] Error 1
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
I have not made any modification to Makefile, and don't know if I should.
Could anyone please help me out on this?
Using brew is orders of magnitude simpler. Just:
brew install wordnet
The following worked for me to get it to compile:
./configure CFLAGS="-I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -fpermissive" CC=/usr/bin/gcc
then
make
sudo make install
after that it's showing up fine for me in
/usr/local/WordNet-3.0/
I then added WordNet to my $PATH by editing my .bash_profile file, adding the line:
export PATH=/usr/local/WordNet-3.0/bin:$PATH
opening a new Terminal window, I could then type:
$ wn
and see that it's now working fine
Do the following to install WordNet in fastest manner:
Press Command+Space and type Terminal and press enter/return key.
Run in Terminal app:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
...and press enter/return key. Wait for the command to finish.
Run:
brew install wordnet
After installation use 'wn' command in terminal to access the application.
I had the same problem too until I saw this webpage: http://ticanchang.blogspot.com/2010/04/install-wordnet-in-mac.html
In the folder of your downloaded WordNet package, type:
./configure
make
sudo make install
You need to include "sudo" because normally a user do not have the permission to update the /usr/local folder.

unable to compile pacman(ArchLinux package manager) in ubuntu

I have tried to do the Offline Installation as described in the ArchLinux wiki, but it did not worked out as i have mentioned in the thread https://stackoverflow.com/posts/comments/12588344. Hence i have planned to compile the pacman in a machine which has internet connection and then download the packages using the compiled pacman binary and then transfer it to offline ArchLinux Machine.
While i tried to compile the pacman in Ubuntu-11.10 machine i got the following errors
$ make # after ./autogen.sh && ./configure
make all-recursive
make[1]: Entering directory `/home/talespin/archlinux/pacman'
Making all in lib/libalpm
make[2]: Entering directory `/home/talespin/archlinux/pacman/lib/libalpm'
Making all in po
make[3]: Entering directory `/home/talespin/archlinux/pacman/lib/libalpm/po'
test ! -f ./libalpm.pot || \
test -z "ca.gmo cs.gmo da.gmo de.gmo el.gmo en_GB.gmo es.gmo fi.gmo fr.gmo hu.gmo it.gmo kk.gmo lt.gmo nb.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sr.gmo sr#latin.gmo sv.gmo tr.gmo uk.gmo zh_CN.gmo zh_TW.gmo" || make ca.gmo cs.gmo da.gmo de.gmo el.gmo en_GB.gmo es.gmo fi.gmo fr.gmo hu.gmo it.gmo kk.gmo lt.gmo nb.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sr.gmo sr#latin.gmo sv.gmo tr.gmo uk.gmo zh_CN.gmo zh_TW.gmo
make[4]: Entering directory `/home/talespin/archlinux/pacman/lib/libalpm/po'
: --update --lang=ca ca.po libalpm.pot
rm -f ca.gmo && : -c --statistics --verbose -o ca.gmo ca.po
mv: cannot stat `t-ca.gmo': No such file or directory
make[4]: *** [ca.gmo] Error 1
make[4]: Leaving directory `/home/talespin/archlinux/pacman/lib/libalpm/po'
make[3]: *** [stamp-po] Error 2
make[3]: Leaving directory `/home/talespin/archlinux/pacman/lib/libalpm/po'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/talespin/archlinux/pacman/lib/libalpm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/talespin/archlinux/pacman'
make: *** [all] Error 2
I have cloned the source from git://projects.archlinux.org/pacman.git and tried compiling with the commit e6f72c61a098b52ea29e54b8eb4739a2ff81e6b0 and its parents(until commit ae25167bcd592186749b79ea31b10fb78ed9fb2d) with no success.
Solved as explained in the mailing list http://mailman.archlinux.org/pipermail/pacman-dev/2012-March/015341.html
Used the git commit e6f72c61a098b52ea29e54b8eb4739a2ff81e6b0in
repo git://projects.archlinux.org/pacman.git
1) $ git clean -xfd; ./autogen.sh && ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--enable-git-version --enable-debug --without-gpgme
2) cd lib/libalpm
3) In the Makefile replace line
LIBS = -lssl -larchive -lm
with
LIBS = -lssl -larchive -lm -lcrypto
4) cd ../../ && make