Hello, I am trying to install kolab from source based on directions from the wiki.<br><br>In doing so, I created a simple bash script to help out, which I've pasted below.<br><br>The problem I am getting is in compiling perl:<br>
usr/bin/gcc -L/kolab/lib -o miniperl \<br> `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 / /'` \<br>
miniperlmain.o opmini.o <br>pp.o: In function `Perl_pp_pow':<br>pp.c:(.text+0x36fd): undefined reference to `pow'<br>pp.o: In function `Perl_pp_modulo':<br>pp.c:(.text+0x43d6): undefined reference to `floor'<br>
pp.c:(.text+0x43fc): undefined reference to `floor'<br>pp.c:(.text+0x448d): undefined reference to `fmod'<br>pp.o: In function `Perl_pp_atan2':<br>pp.c:(.text+0xa40f): undefined reference to `atan2'<br>pp.o: In function `Perl_pp_sin':<br>
pp.c:(.text+0xa48c): undefined reference to `sin'<br>pp.c:(.text+0xa4cd): undefined reference to `cos'<br>pp.c:(.text+0xa4dd): undefined reference to `exp'<br>pp.c:(.text+0xa4ed): undefined reference to `log'<br>
pp.c:(.text+0xa504): undefined reference to `sqrt'<br>pp.o: In function `Perl_pp_int':<br>pp.c:(.text+0xabdb): undefined reference to `floor'<br>pp.c:(.text+0xac70): undefined reference to `ceil'<br>pp_pack.o: In function `S_pack_rec':<br>
pp_pack.c:(.text+0x9033): undefined reference to `floor'<br>pp_pack.c:(.text+0x905b): undefined reference to `floor'<br>collect2: ld returned 1 exit status<br>make: *** [miniperl] Error 1<br><br>My script:<br>apt-get install make gcc build-essential tcl<br>
mkdir /tmp/kolabtemp<br>cd /tmp/kolabtemp<br>wget -r -l1 -nd --no-parent <a href="http://files.kolab.org/server/release/kolab-server-2.3.4/sources/">http://files.kolab.org/server/release/kolab-server-2.3.4/sources/</a><br>
wget <a href="https://ssl.intevation.de/Intevation-Distribution-Key.asc">https://ssl.intevation.de/Intevation-Distribution-Key.asc</a><br>gpg --import Intevation-Distribution-Key.asc<br>gpg --verify SHA1SUMS.sig<br>sha1sum -c SHA1SUMS<br>
mkdir /usr/local/kolab<br>ln -s /usr/local/kolab /kolab<br>sh install-kolab.sh 2>&1 | tee /root/kolab-install.log<br>/kolab/sbin/kolab_bootstrap -b<br>/kolab/bin/openpkg rc all start<br>rm /tmp/kolabtemp -Rf<br><br>
I tried adding -lm to the LDFLAGS in the make file, but that doesn't solve the problem, any ideas?<br><br>Thanks,<br>Micah<br><br>Also, the following links on the webpage don't work or aren't found:<br><a href="http://kolab.org/help/community">http://kolab.org/help/community</a> <-- from the help page<br>
<a href="https://www.intevation.de/roundup/kolab/">https://www.intevation.de/roundup/kolab/</a> <-- from <a href="http://wiki.kolab.org/Developers_overview#Problem_tracker">http://wiki.kolab.org/Developers_overview#Problem_tracker</a><br>