Login | Register
My pages Projects Community openCollabNet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Catacomb] need help for install catacomb on cygwin

Apparently, your compile failed even earlier, not on the last command. Only the very last command of the Apache build can be corrected by appending -lmysqlclient, any earlier errors will have to be fixed in some other way.

Since the error indicates problems around the "VERSION" symbol, my extremely wild guess would be that something was messed up during the generation of Catacomb makefiles (in the buildconf/configure step), or maybe something is wrong with the Cygwin autotools again, in the HOWTO there are instructions to copy some files around, but this may not be enough anymore in newer Cygwin versions. Anyway, I'm not sure what is the problem, it's been long time since I have been compiling it on Cygwin.

Also, in the newer versions of Cygwin GCC something seems to have changed, so the compiled httpd.exe doesn't work for me anymore, when I try to run it it fails with "invalid system call" or some weird error like that (it may be just a local problem on my setup). So, I've given up compiling Catacomb on Cygwin and now run it on Linux instead.

FABRE Nicolas wrote:
Hi all

Ok so i’m trying to install catacomb on cygwin, i followed all the instructions given here :


I have a problem just before the “make install” step, for catacomb installation.

“Now, the Apache build will fail on the very last command which does the final link of httpd.exe. Scroll up past the errors, and locate the last command. It is huge, spanning about ten lines, and starts with "/bin/bash /usr/local/src/httpd-2.0.47/srclib/apr/libtool --silent --*mode=link gcc* ....". Paste this in notepad, edit it back into one long line, and append "-lmysqlclient" at the very end. Then paste it back in the bash window and run it. That should create the httpd.exe and conclude the Apache build.”

è My last line (before the errors) doesn’t fit the line given, mine is (with errors here so you can see):

/usr/local/src/httpd-2.0.53/srclib/apr/libtool --silent --*mode=compile gcc* -g -

O2 -DCYGWIN -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/src/httpd-2.0.53/

srclib/apr/include -I/usr/local/src/httpd-2.0.53/srclib/apr-util/include -I. -I/usr/local/src/httpd-2.0.53/os/unix -I/usr/local/src/httpd-2.0.53/server/mpm/prefork -I/usr/local/src/httpd-2.0.53/modules/http -I/usr/local/src/httpd-2.0.53/modules/filters -I/usr/local/src/httpd-2.0.53/modules/proxy -usr/local/src/httpd-2.0.53/include -I/usr/local/src/httpd-2.0.53/modules/generators -I/usr/local/src/httpd-2.0.53/modules/dav/main -usr/local/include/mysql -I/usr/local/include -prefer-non-pic -static -c repos.c && touch repos.lorepos.c: In function `dav_repos_deliver':repos.c:697: error: parse error before "VERSION"

make[3]: *** [repos.lo] Error 1

make[3]: Leaving directory `/usr/local/src/httpd-2.0.53/modules/dav/catacomb'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/usr/local/src/httpd-2.0.53/modules/dav/catacomb'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/usr/local/src/httpd-2.0.53/modules'

make: *** [all-recursive] Error 1

if I look a few lines upper, I have a line with mode = link :

/usr/local/src/httpd-2.0.53/srclib/apr/libtool --silent --*mode=link* gcc -g -O2 -DCYGWIN -DAP_HAVE_DESIGNATED_INITIALIZER -/usr/local/src/httpd-2.0.53/srclib/apr/include -I/usr/local/src/httpd-2.0.53/srclib/apr-util/include -I. -I/usr/local/src/httpd-2.0.53/os/unix -/usr/local/src/httpd-2.0.53/server/mpm/prefork -I/usr/local/src/httpd-2.0.53/modules/http -I/usr/local/src/httpd-2.0.53/modules/filters -/usr/local/src/httpd-2.0.53/modules/proxy -I/usr/local/src/httpd-2.0.53/include -I/usr/local/src/httpd-2.0.53/modules/generators -I/usr/local/src/httpd-.0.53/modules/dav/main -I/usr/local/include/mysql -I/usr/local/include -module -export-dynamic -o mod_dav_fs.la mod_dav_fs.lo dbm.lo lock.lo repos.lo

so I used this one, I appended “-lmysqlclient” to it and ran it.

But it failed with this error :

*libtool: link: `mod_dav_fs.lo' is not a valid libtool object*

* *

è    should I have used my _last_ line with “mode=compile” instead  ?

è    Have anyone had the same problem ?

I hope you understand me, my english is a bit dusty, I need to practice ..

Thanks for your help !


just coz I’m curious : do you know where does the name catacom come from ?


Catacomb mailing list