aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Missing regex on Kurobox [solved]  (Read 2956 times)

Menion

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
  • Winter is coming...
Missing regex on Kurobox [solved]
« 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:

Quote
./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.

Quote
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:

Quote
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!
« Last Edit: July 23, 2008, 10:55:45 PM by Menion »
Logged

Menion

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
  • Winter is coming...
Re: Missing regex on Kurobox
« Reply #1 on: July 23, 2008, 10:55:27 PM »

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
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Missing regex on Kurobox [solved]
« Reply #2 on: July 24, 2008, 09:48:12 AM »

Quote
I think we should add something in the wiki

Please do so.
Logged

Menion

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
  • Winter is coming...
Re: Missing regex on Kurobox [solved]
« Reply #3 on: July 25, 2008, 08:49:41 PM »

I opened an account in the wiki but I can't find where start to add an article. Do I need special rights? Bye!
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Missing regex on Kurobox [solved]
« Reply #4 on: July 28, 2008, 09:42:09 AM »

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.
Logged