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).
Related
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
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'
lsb_release:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
I am trying to install Apache2 and I struggling to compile the source. I have successfully configured it, but when I use 'make' it responds with "recipe for target 'httpd' failed". Here is the full output from using 'make' - relevant information at the bottom. I'd like to know why this happened and how I can prevent it from happening. Thank-you!
jack#jw-xubuntu-desk1:~/Documents/apache/httpd-2.4.23$ make
Making all in srclib
make[1]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/srclib'
make[1]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/srclib'
Making all in os
make[1]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/os'
Making all in unix
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/os/unix'
make[3]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/os/unix'
make[3]: Nothing to be done for 'local-all'.
make[3]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/os/unix'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/os/unix'
make[1]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/os'
Making all in server
make[1]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/server'
Making all in mpm
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/server/mpm'
Making all in event
make[3]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/server/mpm/event'
make[4]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/server/mpm/event'
make[4]: Nothing to be done for 'local-all'.
make[4]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/server/mpm/event'
make[3]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/server/mpm/event'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/server/mpm'
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/server'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/server'
make[1]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/server'
Making all in modules
make[1]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules'
Making all in aaa
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/aaa'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/aaa'
Making all in cache
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/cache'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/cache'
Making all in core
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/core'
make[3]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/core'
make[3]: Nothing to be done for 'local-all'.
make[3]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/core'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/core'
Making all in database
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/database'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/database'
Making all in debugging
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/debugging'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/debugging'
Making all in filters
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/filters'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/filters'
Making all in http
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/http'
make[3]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/http'
make[3]: Nothing to be done for 'local-all'.
make[3]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/http'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/http'
Making all in ldap
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/ldap'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/ldap'
Making all in loggers
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/loggers'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/loggers'
Making all in metadata
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/metadata'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/metadata'
Making all in proxy
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/proxy'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/proxy'
Making all in session
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/session'
make[2]: Leaving directory '/home/jack/DoThankyou!cuments/apache/httpd-2.4.23/modules/session'
Making all in slotmem
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/slotmem'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/slotmem'
Making all in ssl
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/ssl'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/ssl'
Making all in proxy/balancers
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/proxy/balancers'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/proxy/balancers'
Making all in arch/unix
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/arch/unix'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/arch/unix'
Making all in dav/main
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/dav/main'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/dav/main'
Making all in generators
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/generators'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/generators'
Making all in dav/fs
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/dav/fs'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/dav/fs'
Making all in mappers
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/modules/mappers'
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules/mappers'
make[1]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/modules'
Making all in support
make[1]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/support'
make[2]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23/support'
make[2]: Nothing to be done for 'local-all'.
make[2]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/support'
make[1]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23/support'
make[1]: Entering directory '/home/jack/Documents/apache/httpd-2.4.23'
x86_64-linux-gnu-gcc -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/home/jack/Documents/apache/httpd-2.4.23/os/unix -I/home/jack/Documents/apache/httpd-2.4.23/include -I/usr/include/apr-1.0 -I/usr/include -I/usr/local/pcre/include -I/home/jack/Documents/apache/httpd-2.4.23/modules/aaa -I/home/jack/Documents/apache/httpd-2.4.23/modules/cache -I/home/jack/Documents/apache/httpd-2.4.23/modules/core -I/home/jack/Documents/apache/httpd-2.4.23/modules/database -I/home/jack/Documents/apache/httpd-2.4.23/modules/filters -I/home/jack/Documents/apache/httpd-2.4.23/modules/ldap -I/home/jack/Documents/apache/httpd-2.4.23/modules/loggers -I/home/jack/Documents/apache/httpd-2.4.23/modules/lua -I/home/jack/Documents/apache/httpd-2.4.23/modules/proxy -I/home/jack/Documents/apache/httpd-2.4.23/modules/session -I/home/jack/Documents/apache/httpd-2.4.23/modules/ssl -I/home/jack/Documents/apache/httpd-2.4.23/modules/test -I/home/jack/Documents/apache/httpd-2.4.23/server -I/home/jack/Documents/apache/httpd-2.4.23/modules/arch/unix -I/home/jack/Documents/apache/httpd-2.4.23/modules/dav/main -I/home/jack/Documents/apache/httpd-2.4.23/modules/generators -I/home/jack/Documents/apache/httpd-2.4.23/modules/mappers -c /home/jack/Documents/apache/httpd-2.4.23/server/buildmark.c
/usr/share/apr-1.0/build/libtool --silent --mode=link x86_64-linux-gnu-gcc -pthread -o httpd modules.lo buildmark.o -export-dynamic server/libmain.la modules/core/libmod_so.la modules/http/libmod_http.la server/mpm/event/libevent.la os/unix/libos.la /usr/lib/x86_64-linux-gnu/libaprutil-1.la /usr/lib/x86_64-linux-gnu/libapr-1.la
server/.libs/libmain.a(util_pcre.o): In function `ap_regfree':
util_pcre.c:(.text+0x109): undefined reference to `pcre_free'
server/.libs/libmain.a(util_pcre.o): In function `ap_regcomp':
util_pcre.c:(.text+0x196): undefined reference to `pcre_compile2'
util_pcre.c:(.text+0x1f4): undefined reference to `pcre_fullinfo'
server/.libs/libmain.a(util_pcre.o): In function `ap_regexec_len':
util_pcre.c:(.text+0x3b5): undefined reference to `pcre_exec'
server/.libs/libmain.a(util_pcre.o): In function `ap_regname':
util_pcre.c:(.text+0x5c3): undefined reference to `pcre_fullinfo'
util_pcre.c:(.text+0x5e3): undefined reference to `pcre_fullinfo'
util_pcre.c:(.text+0x603): undefined reference to `pcre_fullinfo'
collect2: error: ld returned 1 exit status
/home/jack/Documents/apache/httpd-2.4.23/build/program.mk:22: recipe for target 'httpd' failed
make[1]: *** [httpd] Error 1
make[1]: Leaving directory '/home/jack/Documents/apache/httpd-2.4.23'
/home/jack/Documents/apache/httpd-2.4.23/build/rules.mk:75: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
I solved this problem by using the --with-pcre with configure and pointing to the correct path of the installed PCRE.
For example: ./configure --prefix=/u01/app/apache/apr/ --with-pcre=/u01/app/apache/pcre/bin.
I'm Microsoft .NET developer but newbie of Mono. On Cent0S 6.4, I have successfully install Mono. When I try to make & install xsp from http://download.mono-project.com/sources/xsp/xsp-2.10.tar.bz2, it gets the following error.
I google a lot but find nothing value. Any idea?
Thanks.
Leo
make[3]: Nothing to be done for install-exec-am'.
/bin/sh /root/xsp-2.10/install-sh -d
/usr/bin/install -c -m 644 Mono.WebServer.zip Mono.WebServer.tree Mono.WebServer .source
/usr/bin/install: targetMono.WebServer.source' is not a directory
make[3]: * [install-data-local] Error 1
make[3]: Leaving directory /root/xsp-2.10/docs/Mono.WebServer'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory/root/xsp-2.10/docs/Mono.WebServer'
make[1]: [install-recursive] Error 1
make[1]: Leaving directory `/root/xsp-2.10/docs'
make: ** [install-recursive] Error 1
xsp 2.x is not compatible with mono 3.x, upgrade to xsp 3.0.11
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.