mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Linux (https://www.mersenneforum.org/forumdisplay.php?f=39)
-   -   Linux sucks - linker problems (https://www.mersenneforum.org/showthread.php?t=14032)

Prime95 2010-10-08 23:11

Linux sucks - linker problems
 
OK, so I upgraded to the latest Ubuntu to work on a bug report. Moved 26.3 sources over. Typed "make" -- curl.h not found.

OK, a quick google says I need to install the "-dev" version of libcurl. Start package manager. Two choices. One is libcurl-openssl-dev and libcurl-gnutls-dev. Let's try the openssl one.

make. tons of undefined symbols. more google. Packages cyrto and zlib added to makefile.

make. tons more undefineds. more google - little help. try gss package, try kerberos package, try something called asn package, ldap package, try this package, try that package, blah, blah, blah.

three hours later - screw it. Comment out all code that calls libcurl so that I can debug the original problem.

I'm not a complete idiot. My conclusion is that Linux and/or Ubuntu documentation and packaging is [B][SIZE="4"]WOEFULLY[/SIZE][/B] inadequate.

If the latest Debian release is equally bad, a volunteer will be needed to create makefiles for future builds (current linux releases are built on the Debian "etch" release).

Batalov 2010-10-08 23:57

...was it any better in OpenSUSE, if you had to compare? Just curious.

moebius 2010-10-09 00:16

[QUOTE=Batalov;232973]...was it any better in OpenSUSE, if you had to compare? Just curious.[/QUOTE]

a disaster, try to enable w32codecs in an older openSUSE distribution, for the neutered version of kaffeine.

Prime95 2010-10-09 00:26

I didn't try OpenSUSE.

Thanks for letting me vent. I needed it after three frustrating hours doing something as simple as trying to link to library.

ldesnogu 2010-10-11 13:56

[QUOTE=Prime95;232978]Thanks for letting me vent. I needed it after three frustrating hours doing something as simple as trying to link to library.[/QUOTE]

Heh, I know the feeling: I had the same when I tried to develop on Windows years ago :smile:

I'm now very used to look for things in the various Linux package managers. But I agree Linux has a long way to go to please even developers; no need to talk about end-users...

tichy 2010-12-20 19:15

[QUOTE=Prime95;232978]after three frustrating hours doing something as simple as trying to link to library.[/QUOTE]
Have you ever heard of libtool and .la files ?

Batalov 2010-12-20 19:39

Necroposting is not a very good habit.


All times are UTC. The time now is 08:07.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.