Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » Attempting to compile Sablotron 0.95

UBBFriend: Email this page to someone!    
Author Topic: Attempting to compile Sablotron 0.95
Voodoo Tiki God
Junior Member
Member # 464

posted July 10, 2002 10:27 AM      Profile for Voodoo Tiki God     Send New Private Message      Edit/Delete Post  Reply With Quote 
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


Posts: 1 | Registered: Jul 2002  |  IP: Logged
<macmod>
unregistered

posted September 15, 2002 03:24 AM           Edit/Delete Post  Reply With Quote 
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


IP: Logged
<Al>
unregistered

posted September 15, 2002 05:37 PM           Edit/Delete Post  Reply With Quote 
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


IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2