aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Cross-compiling amuleWEB, problem [resolved]  (Read 4024 times)

lucap87

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
    • TuxMule a powerful gadget with amule and more Projects
Cross-compiling amuleWEB, problem [resolved]
« on: June 08, 2008, 09:28:27 AM »

I have long been cross-compiled the cvs to amuled amulecmd and ed2k and operate without problems, but when I try to do the porting amuleWEB inevitably leaves me this error:

Code: [Select]
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing denoiser commands


  Configure script has finished system check.

  Configured aMule SVN for 'cris-axis-linux-gnu'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /Luca/foxboard/devboard-R2_01/apps/aMule
  Should aMule be compiled with i18n support?                no
  Should aMule be compiled in debug mode?                    no
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               no
  Should aMule be compiled with UPnP support?                yes
  Should aMule be compiled with IP2country support?          no
  Should aMule monolithic application be built?              no
  Should aMule daemon version be built?                      yes
  Should aMule remote gui be built? (EXPERIMENTAL)           no
  Crypto++ library/headers style?                            installed

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 yes

  **** aMule WebServer ****
  Should aMule WebServer be built?                           disabled

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        no
  Should aMuleLinkCreator for console (alcc) be built?       no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  no
  Should aMule GUI Statistics (wxCas) be built?              no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.8.7 (,shared)
                                       crypto++              5.5.2 (installed, in /Luca/foxboard/devboard-R2_01/apps/crypto++2)
                                       regex                 Not detected
                                       libintl               Not detected
                                       zlib                  1.2.3


WARNING! amuleweb has been disabled because configure could not find
a POSIX compliant regex library.

[root@localhost amule-cvs]#
amuleweb is disabled, because configure could not find  a PSIX compliant regex library.
I apologise for the ignorance but I do not know how to do that, all other dependencies I completed without problems, including wxWidgets libpng crypto + +, but these just I did not understand.
   
Can you help and explain what can I do?

Thanks Luca
« Last Edit: June 09, 2008, 01:01:58 PM by lucap87 »
Logged

lfroen

  • Guest
Re: Cross-compiling amuleWEB, problem
« Reply #1 on: June 08, 2008, 07:31:31 PM »

Quote
I have long been cross-compiled the cvs to amuled amulecmd and ed2k ...
Cross-compile to what platform may I ask? I have compiled it for ARM (for example) without any problems.

Quote
I apologise for the ignorance but I do not know how to do that, all other dependencies I completed without problems, including wxWidgets libpng crypto + +, but these just I did not understand.
FYI: regex library is used in php engine for reg.expressions support.

Quote
Can you help and explain what can I do?
Strictly speaking, these are two questions. First, tell me what kind of help you need. Second, I would suggest you to compile regex library to your target platform.
Logged

lucap87

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
    • TuxMule a powerful gadget with amule and more Projects
Re: Cross-compiling amuleWEB, problem
« Reply #2 on: June 08, 2008, 09:57:30 PM »

thanks for your answer, I want to compile libraries, but where can I download them? I have look but I did not find anything on the Internet.

I use a board embedded with core MIPS.

I successfully porting amule1.2.3 and amuled of cvs, but I have problems with amuleweb of cvs. Precisely with these libraries. My current problem is that I can not find them, where can I download them?

Thanks Luca
Logged

Gaznevada

  • Jr. Member
  • **
  • Karma: 3
  • Offline Offline
  • Posts: 51
Re: Cross-compiling amuleWEB, problem
« Reply #3 on: June 08, 2008, 11:59:23 PM »


My current problem is that I can not find them, where can I download them?


Probably I completely misunderstood your question, but have a look here:

http://www.laurikari.net/tre/

Cheers

--
Gaznevada


Logged
--
"Orwell was an optimist" - Usenet, somewhere.

lucap87

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
    • TuxMule a powerful gadget with amule and more Projects
Re: Cross-compiling amuleWEB, problem
« Reply #4 on: June 09, 2008, 08:53:59 AM »

is great, I cross-compiled those libraries, but I still have a problem.
   
When I have to include libraries that are not in the path of default, I would add this:
Code: [Select]
./configure --build=i686-linux-gnu --host=crisaxis-
linux-gnu  --with-wxprefix=/root/../../devboard-R2_01/apps/wxWidgets2 --with-zlib=/root/../../devboard-R2_01/apps/zlib2
Putting in configure manually the installation directory, with POSIX how do I do? Not being able to install in the path of default?

I do not find:
Code: [Select]
--whit-POSIXprefix=blablabla
Thanks Luca
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Cross-compiling amuleWEB, problem
« Reply #5 on: June 09, 2008, 09:35:05 AM »

Code: [Select]
export CPPFLAGS="-I/cross-tools/include"
export LDFLAGS="-L/cross-tools/lib -R/cross-tools/lib"
./configure --blah-blah

Modify the above for your needs. The CPPFLAGS variable should point to the directory where the header files are (regex.h, for example), the LDFLAGS variabe should point to the directory where the compiled library resides (libregex.a or libregex.so.0 or something like that).
Logged
concordia cum veritate

lucap87

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
    • TuxMule a powerful gadget with amule and more Projects
Re: Cross-compiling amuleWEB, problem
« Reply #6 on: June 09, 2008, 01:01:33 PM »

I will now resolved, I finally completed even amuleweb.

Thanks for the help
Logged