aMule Forum
English => Compilation problems => Topic started by: Menion on July 20, 2008, 10:51:41 PM
-
Hi guy, I was trying to compile aMule daemon on Kurobox. I used the normal configure for that:
./configure --disable-monolithic --with-toolkit=base --enable-amule-daemon --enable-amulecmd --enable-webserver
But the configure script complains about missing regex libraries and it disables webserver.
checking for a POSIX compliant regex library... no
WARNING! amuleweb has been disabled because configure could not find
a POSIX compliant regex library.
Then a searched a little bit on the forum and I found some informations about "TRE library" from http://www.laurikari.net/tre/index.html
So I downloaded the package, compiled it with:
./configure
make
make install
during make install I got the following information:
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
But the amule configure scripts still can't find regex and disables webserver. Can you help me? Bye!
-
Solved: I had to compile with --prefix=/usr and manually copy the .h files from /usr/include/tre to /usr/inlcude
I think we should add something in the wiki
Bye
-
I think we should add something in the wiki
Please do so.
-
I opened an account in the wiki but I can't find where start to add an article. Do I need special rights? Bye!
-
Hi,
to start a new article, replace the "Main_page" text in the url in the address bar of your browser with the name of the article. Then just edit this page and you've created a new one.
Someone will add a link to this page at the appropriate place, if you post the link here, I could have a look at it, too.