Archlinux errors compiling... please help

Added by prsieux about 5 years ago

Hi.

I tried to compile ryzom and have a mistakes, a problem with ld.
Yet all the dependencies are installed

Attach errors log

Thanks

make_errors.log (39.1 kB)


Replies (5)

RE: Archlinux errors compiling... please help - Added by kervala about 5 years ago

It seems like it didn't find libwww libs :(

RE: Archlinux errors compiling... please help - Added by Krolock about 5 years ago

I have exactly the same error on openSuse :(
But the package w3c-libwww-devel is installed. All libs are in the right folders.

RE: Archlinux errors compiling... please help - Added by rti about 5 years ago

Please check if the linking call to gcc really contains -lwwwapp, -lwwwhttp, ... etc.
I am not sure which ones are actually needed. So add all of the libwww* libs, just to be sure :)

RE: Archlinux errors compiling... please help - Added by prsieux about 5 years ago

Thanks rti.

lacks all the "libwww *" in "FindLibwww.cmake" except "libwwwapp"

I successfully compile "Ryzom" add back "libwww *" missing "build/client/src/CMakeFiles /client.dir/linker.txt" then in a terminal "cd .../build/client/src" and "sh CMakeFiles/client.dir/linker.txt"

We get the list of libwww using commad "libwww-config - libs"

Sorry for my bad english

RE: Archlinux errors compiling... please help - Added by DrMegahertz about 5 years ago

I got around this problem by making a lazy modification to the FindLibwww module, that makes use of the libwww-config helper to get all linker flags.

It seems like the wwwmux and wwwinit-libraries aren't needed.

Patch attached.

libwww-config.diff - Makes use of the libwww-config helper instead of finding wwwapp (686 Bytes) Magnifier

(1-5/5)