[Kolab-devel] Web page links and build from source broken

Micah Villmow villmow at gmail.com
Sat Jul 21 20:25:09 CEST 2012


Hello, I am trying to install kolab from source based on directions from
the wiki.

In doing so, I created a simple bash script to help out, which I've pasted
below.

The problem I am getting is in compiling perl:
usr/bin/gcc -L/kolab/lib -o miniperl \
            `echo   gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o
mg.o reentr.o mro.o hv.o av.o perl.o run.o pp_hot.o sv.o pp.o scope.o
pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o
xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o
pp_pack.o pp_sort.o  | sed 's/ op.o / /'` \
            miniperlmain.o opmini.o
pp.o: In function `Perl_pp_pow':
pp.c:(.text+0x36fd): undefined reference to `pow'
pp.o: In function `Perl_pp_modulo':
pp.c:(.text+0x43d6): undefined reference to `floor'
pp.c:(.text+0x43fc): undefined reference to `floor'
pp.c:(.text+0x448d): undefined reference to `fmod'
pp.o: In function `Perl_pp_atan2':
pp.c:(.text+0xa40f): undefined reference to `atan2'
pp.o: In function `Perl_pp_sin':
pp.c:(.text+0xa48c): undefined reference to `sin'
pp.c:(.text+0xa4cd): undefined reference to `cos'
pp.c:(.text+0xa4dd): undefined reference to `exp'
pp.c:(.text+0xa4ed): undefined reference to `log'
pp.c:(.text+0xa504): undefined reference to `sqrt'
pp.o: In function `Perl_pp_int':
pp.c:(.text+0xabdb): undefined reference to `floor'
pp.c:(.text+0xac70): undefined reference to `ceil'
pp_pack.o: In function `S_pack_rec':
pp_pack.c:(.text+0x9033): undefined reference to `floor'
pp_pack.c:(.text+0x905b): undefined reference to `floor'
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1

My script:
apt-get install make gcc build-essential tcl
mkdir /tmp/kolabtemp
cd /tmp/kolabtemp
wget -r -l1 -nd --no-parent
http://files.kolab.org/server/release/kolab-server-2.3.4/sources/
wget https://ssl.intevation.de/Intevation-Distribution-Key.asc
gpg --import Intevation-Distribution-Key.asc
gpg --verify SHA1SUMS.sig
sha1sum -c SHA1SUMS
mkdir /usr/local/kolab
ln -s /usr/local/kolab /kolab
sh install-kolab.sh 2>&1 | tee /root/kolab-install.log
/kolab/sbin/kolab_bootstrap -b
/kolab/bin/openpkg rc all start
rm /tmp/kolabtemp -Rf

I tried adding -lm to the LDFLAGS in the make file, but that doesn't solve
the problem, any ideas?

Thanks,
Micah

Also, the following links on the webpage don't work or aren't found:
http://kolab.org/help/community  <-- from the help page
https://www.intevation.de/roundup/kolab/ <-- from
http://wiki.kolab.org/Developers_overview#Problem_tracker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/devel/attachments/20120721/0cfd04bc/attachment.html>


More information about the devel mailing list