Attempting to compile Sablotron 0.95

Find out how to get that @*&^$&@ thing to compile!

Attempting to compile Sablotron 0.95

Postby voodootikigod » Wed Jul 10, 2002 5:27 pm

I am attempting to get Sablotron 0.95 to compile on OS X, but to no avail. I have libiconv installed and updated my wchar.h file so that it should all work, but it will not generate the makefile. Does anyone have a clue how to get it to work or has anyone gotten it to work further than where I currently am?


Thanks


voodoo tiki god
voodootikigod
 
Posts: 1
Joined: Wed Jul 10, 2002 7:00 pm

Re: Attempting to compile Sablotron 0.95

Postby <macmod> » Sun Sep 15, 2002 10:24 am

Not many words, just:

cd /usr/local/src
sudo curl -O http://download-2.gingerall.cz/download/sablot/Sablot-0.96.tar.gz
sudo tar xvfz Sablot-0.96.tar.gz
cd Sablot-0.96
sudo cp configure configure.orig

*** configure.orig Sun Sep 15 11:32:21 2002
--- configure Sun Sep 15 11:32:58 2002
***************
*** 3326,3332 ****
# FIXME: Relying on posixy $() will cause problems for
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes.
! archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes
--- 3326,3332 ----
# FIXME: Relying on posixy $() will cause problems for
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes.
! archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -flat_namespace -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes

sudo curl -O http://download-2.gingerall.cz/download/sablot/Sablot-0.96.1.patch
sudo patch -p2 < Sablot-0.96.1.patch

setenv LDFLAGS "-flat_namespace -undefined suppress"
sudo ./configure --with-zlib=/usr --prefix=/usr/local -without-iconv

---- this comes up ----
configure: warning: Your system doesn't support standard widechar library (wchar.h), result of the <xsl:sort> instruction may be undefined
----

sudo make
sudo make check
sudo make install
<macmod>
 

Re: Attempting to compile Sablotron 0.95

Postby <Al> » Mon Sep 16, 2002 12:37 am

Hi, I'm getting this very strange error when I make. I've followed your nstructions twice. Any other ideas?

c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -g -O2 -c platform.cpp -fno-common -DPIC -o .libs/platform.lo
platform.cpp: In function `double getMillisecs()':
platform.cpp:118: `ftime' undeclared (first use this function)
platform.cpp:118: (Each undeclared identifier is reported only once for each
function it appears in.)
make[2]: *** [platform.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
<Al>
 


Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 51 guests

cron