compile error on kolab-server-2.3.4 / Ubuntu 11.10
Matthias Kretz
MatthiasKretz at gmx.net
Fri Dec 16 18:41:14 CET 2011
Hi,
btw, I'm subscribed to the list, no need to send it to me twice.
Are you trying to execute the script? You somehow messed up the icecream
setup. I know it's a bit fragile, so once you deviate somehow from my setup
there could be problems.
I suggest you skip all the GCC, Icecream, and parallel make hacks.
Cheers,
Matthias
On Friday 16 December 2011 18:15:43 Stephen More wrote:
> I am seeing some errors around cc1:
>
> adding file /usr/bin/gcc=/usr/bin/gcc.orig
> adding file /usr/bin/g++=/usr/bin/g++.orig
> adding file /usr/bin/as
> adding file /usr/lib/libopcodes-2.21.53-system.20110810.so
> adding file /usr/lib/libbfd-2.21.53-system.20110810.so
> adding file /lib/x86_64-linux-gnu/libz.so.1
> adding file /lib/x86_64-linux-gnu/libc.so.6
> adding file /lib64/ld-linux-x86-64.so.2
> adding file /lib/x86_64-linux-gnu/libdl.so.2
> ICECC[2654] 12:12:29: icecream seems to have invoked itself recursively!
> ls: cannot access /usr/bin/cc1: No such file or directory
> adding file /usr/bin/cc1=
> ICECC[2659] 12:12:29: icecream seems to have invoked itself recursively!
> ls: cannot access /usr/bin/cc1plus: No such file or directory
> adding file /usr/bin/cc1plus=
> ICECC[2664] 12:12:29: icecream seems to have invoked itself recursively!
> ICECC[2668] 12:12:29: icecream seems to have invoked itself recursively!
> adding file /etc/ld.so.conf=/tmp/icecc_ld_so_confbI6Bq2
> cp: cannot stat `/usr/bin/cc1=': No such file or directory
> cp: cannot stat `/usr/bin/cc1plus=': No such file or directory
> /usr/bin/md5sum: /tmp/iceccenvrWJJF1/usr/bin/cc1=: No such file or
> directory /usr/bin/md5sum: /tmp/iceccenvrWJJF1/usr/bin/cc1plus=: No such
> file or directory creating 24c6a0194f9e8753a5d63fbf63801481.tar.gz
> tar: usr/bin/cc1=: Cannot stat: No such file or directory
> tar: usr/bin/cc1plus=: Cannot stat: No such file or directory
> tar: Exiting with failure status due to previous errors
> Couldn't create archive
>
> -Stephen
>
> On Fri, Dec 16, 2011 at 12:03 PM, Matthias Kretz <MatthiasKretz at gmx.net>
wrote:
> > Hi,
> >
> > please read through the provided script. It is even documented in many
> > places, explaining why I do these steps.
> >
> > In short you will get around this specific problem with a simple 'ln -s',
> > but you'll encounter the next problem soon...
> >
> > Cheers,
> > Matthias
> >
> > On Friday 16 December 2011 17:52:57 Stephen More wrote:
> >> What is your suggestion for fixing the location of the libraries ?
> >>
> >> I'll try to post my work on the kolab wiki for others.
> >>
> >> -Stephen More
> >>
> >> 2011/12/16 Matthias Kretz <MatthiasKretz at gmx.net>:
> >> > Hi,
> >> >
> >> > yay for multiarch without compatibility!
> >> >
> >> > The problem is that libm.{a,so} (and some other libraries which you'll
> >> > find out about later in the following packages) are not in /usr/lib/
> >> > but in /usr/lib/x86_64-linux-gnu/.
> >> >
> >> > Also see the mail from me from the 4th to this list (I attached it for
> >> > reference).
> >> >
> >> > Best regards,
> >> > Matthias
> >> >
> >> > On Friday 16 December 2011 15:58:11 Stephen More wrote:
> >> >> I am trying to compile kolab-server-2.3.4 on Ubuntu 11.10 and I am
> >> >> getting the following error:
> >> >>
> >> >>
> >> >> pp.o: In function `Perl_pp_pow':
> >> >> pp.c:(.text+0x3f8a): undefined reference to `pow'
> >> >> pp.o: In function `Perl_pp_modulo':
> >> >> pp.c:(.text+0x524e): undefined reference to `floor'
> >> >> pp.c:(.text+0x5273): undefined reference to `floor'
> >> >> pp.c:(.text+0x5325): undefined reference to `fmod'
> >> >> pp.o: In function `Perl_pp_atan2':
> >> >> pp.c:(.text+0xcebd): undefined reference to `atan2'
> >> >> pp.o: In function `Perl_pp_sin':
> >> >> pp.c:(.text+0xcf51): undefined reference to `sin'
> >> >> pp.c:(.text+0xcf95): undefined reference to `cos'
> >> >> pp.c:(.text+0xcfa6): undefined reference to `exp'
> >> >> pp.c:(.text+0xcfb7): undefined reference to `log'
> >> >> pp.c:(.text+0xcfd0): undefined reference to `sqrt'
> >> >> pp.o: In function `Perl_pp_int':
> >> >> pp.c:(.text+0xd7a6): undefined reference to `floor'
> >> >> pp.c:(.text+0xd841): undefined reference to `ceil'
> >> >> pp_pack.o: In function `S_pack_rec':
> >> >> pp_pack.c:(.text+0xa689): undefined reference to `floor'
> >> >> pp_pack.c:(.text+0xa6aa): undefined reference to `floor'
> >> >> collect2: ld returned 1 exit status
> >> >> make: *** [miniperl] Error 1
> >> >> + exit 2
> >> >> + exit 2
> >> >> ./openpkg.boot:ERROR: script returned non-null value
> >> >>
> >> >>
> >> >> What do I need to do to get this to compile ?
> >> >>
> >> >> -Thanks
> >> >> Stephen More
> >> >>
> >> >> _______________________________________________
> >> >> Kolab-users mailing list
> >> >> Kolab-users at kolab.org
> >> >> https://kolab.org/mailman/listinfo/kolab-users
> >> >
> >> > --
> >> > ________________________________________________________
> >> > Matthias Kretz (Germany) <><
> >> > http://kretzfamily.de/
> >> >
> >> >
> >> > ---------- Forwarded message ----------
> >> > From: Matthias Kretz <MatthiasKretz at gmx.net>
> >> > To: kolab-users at kolab.org
> >> > Cc:
> >> > Date: Sun, 4 Dec 2011 20:58:10 +0100
> >> > Subject: Re: Kolab on opensuse 12.1
> >> > Hi,
> >> >
> >> > I recently compiled Kolab on Ubuntu Oneiric (also Kernel 3.0) and
> >> > after lots of patching got it all going through.
> >> >
> >> > I wanted to do a detailed write-up, but for now I can give you the
> >> > relevant parts of my script and stuff I that I created to setup my
> >> > Kolab Linux Container (which would be a so much better distribution
> >> > method than OpenPKG IMHO).
> >> >
> >> > You'll find the necessary patched packages at http://compeng.uni-
> >> > frankfurt.de/~kretz/kolab/ (still uploading while writing). The script
> >> > is attached.
> >> >
> >> > Cheers,
> >> > Matthias
> >> >
> >> > On Saturday 03 December 2011 00:03:25 Plamen Neykov wrote:
> >> >> Hi all,
> >> >>
> >> >> I'm trying to install the newest kolab version on opensuse 12.1 -
> >> >> unfortunately no luck at all - the compilation of the postfix package
> >> >> fails because of the kernel version (3.x.x).
> >> >>
> >> >> Does anyone has a hint how to solve this?
> >> >>
> >> >> Thanks,
> >> >> Plamen
> >> >>
> >> >> _______________________________________________
> >> >> Kolab-users mailing list
> >> >> Kolab-users at kolab.org
> >> >> https://kolab.org/mailman/listinfo/kolab-users
> >> >
> >> > --
> >> > ________________________________________________________
> >> > Matthias Kretz (Germany) <><
> >> > http://kretzfamily.de/
> >> >
> >> > _______________________________________________
> >> > Kolab-users mailing list
> >> > Kolab-users at kolab.org
> >> > https://kolab.org/mailman/listinfo/kolab-users
> >>
> >> _______________________________________________
> >> Kolab-users mailing list
> >> Kolab-users at kolab.org
> >> https://kolab.org/mailman/listinfo/kolab-users
> >
> > --
> > ________________________________________________________
> > Matthias Kretz (Germany) <><
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
--
More information about the users
mailing list