Build failed on Debian wheezy

57 views
Skip to first unread message

Christophe Trophime

unread,
May 28, 2011, 6:28:04 AM5/28/11
to femhub, christoph...@lncmi.cnrs.fr
Trying to build latest femhub (from git on 27th May) on Debian wheezy
I had the following error:

Package 'onlinelab' not found
make: *** [all] Error 1

Could you provide the package?
Is it possible to disable this package to go on?

Thanks
C.

Pavel Solin

unread,
May 28, 2011, 6:51:29 AM5/28/11
to fem...@googlegroups.com, christoph...@lncmi.cnrs.fr
Hi Christophe,
  the package onlinelab was replaced with onlinelab-sdk,

Aayush - can you please fix this problem.

Pavel


--
You received this message because you are subscribed to the Google Groups "femhub" group.
To post to this group, send email to fem...@googlegroups.com.
To unsubscribe from this group, send email to femhub+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/femhub?hl=en.




--
Pavel Solin
University of Nevada, Reno
Home page: http://hpfem.org/~pavel
FEMTEC 2011: http://hpfem.org/events/femtec-2011/
Hermes: http://hpfem.org/
FEMhub: http://femhub.org/

Christophe Trophime

unread,
May 28, 2011, 10:22:11 AM5/28/11
to femhub


On May 28, 12:51 pm, Pavel Solin <so...@unr.edu> wrote:
> Hi Christophe,
>   the package onlinelab was replaced with onlinelab-sdk,http://femhub.org/stpack/femhub_online_lab_sdk-864a5d9d4.spkg.
>
> Aayush - can you please fix this problem.
>

Ok replacing onlinelab by femhub_online_lab_sdk is OK
Now I run into a trouble with curl:

Making install in src
make[2]: Entering directory `/home/trophime/femhub/spkg/build/
curl-7.21.1/src/src'
make install-am
make[3]: Entering directory `/home/trophime/femhub/spkg/build/
curl-7.21.1/src/src'
/bin/bash ../libtool --tag=CC --mode=link gcc -g0 -O2 -Wno-system-
headers -o curl main.o hugehelp.o urlglob.o writeout.o writeenv.o
getpass.o homedir.o curlutil.o os-specific.o strtoofft.o strdup.o
rawstr.o nonblock.o ../lib/libcurl.la -lz
libtool: link: gcc -g0 -O2 -Wno-system-headers -o .libs/curl main.o
hugehelp.o urlglob.o writeout.o writeenv.o getpass.o homedir.o
curlutil.o os-specific.o strtoofft.o strdup.o rawstr.o nonblock.o ../
lib/.libs/libcurl.so -lz -Wl,-rpath -Wl,/home/trophime/femhub/local/
lib
/usr/bin/ld: curlutil.o: undefined reference to symbol
'clock_gettime@@GLIBC_2.2.5'
/usr/bin/ld: note: 'clock_gettime@@GLIBC_2.2.5' is defined in DSO //
lib64/librt.so.1 so try adding it to the linker command line
//lib64/librt.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [curl] Error 1
make[3]: Leaving directory `/home/trophime/femhub/spkg/build/
curl-7.21.1/src/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/trophime/femhub/spkg/build/
curl-7.21.1/src/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/trophime/femhub/spkg/build/
curl-7.21.1/src'
Error installing curl.

My system is amd64
but librt.so.1 is in /lib not /lib64!

I guess that a "rought" work-around would be to symlink /lib64/
librt.so.1 to /lib/librt.so.1
Just a question: why not simply using curl package?

Thanks
C.

Christophe Trophime

unread,
May 28, 2011, 10:25:53 AM5/28/11
to femhub


On May 28, 4:22 pm, Christophe Trophime
It's wrong. There is already a /lib64 symlink to /lib

Christophe Trophime

unread,
May 28, 2011, 11:49:38 AM5/28/11
to femhub
Using curl from debian wheezy (with included patches) solve the
problem
I build a spkg from the "debian" patched curl version (not really the
proper way to do a sage package)
but now femhub build fine.

Is there a simple test suite to run to check the installation?
Thanks
C

Pavel Solin

unread,
May 28, 2011, 12:00:30 PM5/28/11
to fem...@googlegroups.com
There are a few instructions here
and also in the documentation 

Pavel
 
Thanks
C


--
You received this message because you are subscribed to the Google Groups "femhub" group.
To post to this group, send email to fem...@googlegroups.com.
To unsubscribe from this group, send email to femhub+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/femhub?hl=en.

Reply all
Reply to author
Forward
0 new messages