Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Problems compiling and installing Sablotron

Problems compiling and installing Sablotron
Thread Tools
Hammer65
Fresh-Faced Recruit
Join Date: Oct 2003
Location: Nebraska
Status: Offline
Reply With Quote
Jun 9, 2005, 12:45 PM
 
I have been trying to install Sablotron on a Mandrake Linux box after a successful install on OS X.

I installed expat first which went off without a hitch. The expat libraries are now in /usr/local/lib/ but the configure script for Sablotron can't find expat even with the prefix set.

I need to get XSLT support up and running soon. Any help anyone here could give for this would be greatly appreciated. Be gentle, I'm not a CLI vet. Thanks.
     
Ludovic Hirlimann
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status: Offline
Reply With Quote
Jun 25, 2005, 07:35 AM
 
Originally Posted by Hammer65
I have been trying to install Sablotron on a Mandrake Linux box after a successful install on OS X.

I installed expat first which went off without a hitch. The expat libraries are now in /usr/local/lib/ but the configure script for Sablotron can't find expat even with the prefix set.

I need to get XSLT support up and running soon. Any help anyone here could give for this would be greatly appreciated. Be gentle, I'm not a CLI vet. Thanks.
Could you give me the output of ./configure --help when you try to configure sablotron ?
     
Hammer65  (op)
Fresh-Faced Recruit
Join Date: Oct 2003
Location: Nebraska
Status: Offline
Reply With Quote
Jun 25, 2005, 11:46 AM
 
./configure output is:

# ./configure --with-expat /usr/local/lib

# export host blah blah sorry don't
#want anyone to see that


export INPUTRC="/etc/inputrc"
export LANG="C"
export LANGUAGE="C"
export LC_ADDRESS="C"
export LC_ALL="C"
export LC_COLLATE="C"
export LC_CTYPE="C"
export LC_IDENTIFICATION="C"
export LC_MEASUREMENT="C"
export LC_MESSAGES="C"
export LC_MONETARY="C"
export LC_NAME="C"
export LC_NUMERIC="C"
export LC_PAPER="C"
export LC_TELEPHONE="C"
export LC_TIME="C"
export LESS="-MM"
export LESSKEY="/etc/.less"
export LESSOPEN="|/usr/bin/lesspipe.sh %s"
export LOGNAME="root"
export LS_COLORS="no=00:fi=00:di=01;34:ln=01;36i=40;33: so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi =01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.co m=01;32:*.btm=01;32:*.bat=01;32:*.tar=01;31:*.tgz= 01;31:*.tbz2=01;31:*.arc=01;31:*.arj=01;31:*.taz=0 1;31:*.lzh=01;31:*.lha=01;31:*.zip=01;31:*.z=01;31 :*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz= 01;31:*.rpm=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=0 1;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01; 35:*.tif=01;35:*.tiff=01;35:"
export NLSPATH="/usr/share/locale/%l/%N"
export OLDPWD
export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin"
export PWD="/usr/local/src/Sablot-1.0.2"
export QT_XFT="0"
export SECURE_LEVEL="2"
export SHELL="/bin/sh"
export SHLVL="2"
export SSH_CLIENT="139.55.208.128 12454 22"
export SSH_TTY="/dev/pts/1"
export TERM="xterm-color"
export USER="root"
export USERNAME="root"
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /usr/local/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... /usr/local/lib
checking host system type... /usr/local/lib
checking for style of include used by make... GNU
checking for /usr/local/lib-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... unknown
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for /usr/local/lib-g++... no
checking for /usr/local/lib-c++... no
checking for /usr/local/lib-gpp... no
checking for /usr/local/lib-aCC... no
checking for /usr/local/lib-CC... no
checking for /usr/local/lib-cxx... no
checking for /usr/local/lib-cc++... no
checking for /usr/local/lib-cl... no
checking for /usr/local/lib-FCC... no
checking for /usr/local/lib-KCC... no
checking for /usr/local/lib-RCC... no
checking for /usr/local/lib-xlC_r... no
checking for /usr/local/lib-xlC... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
checking for /usr/local/lib-g77... no
checking for /usr/local/lib-f77... no
checking for /usr/local/lib-xlf... no
checking for /usr/local/lib-frt... no
checking for /usr/local/lib-pgf77... no
checking for /usr/local/lib-fort77... no
checking for /usr/local/lib-fl32... no
checking for /usr/local/lib-af77... no
checking for /usr/local/lib-f90... no
checking for /usr/local/lib-xlf90... no
checking for /usr/local/lib-pgf90... no
checking for /usr/local/lib-epcf90... no
checking for /usr/local/lib-f95... no
checking for /usr/local/lib-fort... no
checking for /usr/local/lib-xlf95... no
checking for /usr/local/lib-ifc... no
checking for /usr/local/lib-efc... no
checking for /usr/local/lib-pgf95... no
checking for /usr/local/lib-lf95... no
checking for /usr/local/lib-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for /usr/local/lib-ar... no
checking for ar... ar
checking for /usr/local/lib-ranlib... no
checking for ranlib... ranlib
checking for /usr/local/lib-strip... no
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... no
libtool.m4: error: problem compiling CXX test program
checking for g++ option to produce PIC...
checking if g++ supports -c -o file.o... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
checking how to run the C++ preprocessor... /lib/cpp
checking for perl... /usr/bin/perl
checking XML:arser perl module... no: documentation requires XML:arser module and will not be built.
checking whether to build under GPL... no
checking whether to build the debugger... no
checking where to find xml parser... ./configure: line 20831: 0: command not found
not found (panic)
configure: error: Couldn't find the expat libraries
[root@tibor Sablot-1.0.2]# ./configure --with-expat=/usr/local/libchecking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
libtool.m4: error: problem compiling CXX test program
checking for g++ option to produce PIC...
checking if g++ supports -c -o file.o... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
checking how to run the C++ preprocessor... /lib/cpp
checking for Expat installation integrity... configure: error: prefix for Expat not valid (include dir)

This is /usr/local/lib/

# ls
html2ps/ libexpat.so@ libxml2.so.2.6.16*
libcurl.a libexpat.so.0@ libz.a*
libcurl.la* libexpat.so.0.5.0* php/
libcurl.so@ libpq.so@ php.ini
libcurl.so.2@ libxml2.a pkgconfig/
libcurl.so.2.0.2* libxml2.la* xml2Conf.sh
libexpat.a libxml2.so@
libexpat.la* libxml2.so.2@

Expat is also in /usr/lib the source directory is in /usr/local/src None of these directories work. I also tried setting CFLAGS for the directory. I don't have the syntax I used fot that. Thank you for any help you can give
( Last edited by Hammer65; Jun 25, 2005 at 11:58 AM. )
     
Ludovic Hirlimann
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status: Offline
Reply With Quote
Jun 25, 2005, 01:48 PM
 
Originally Posted by Hammer65
./configure output is:

# ./configure --with-expat /usr/local/lib

[snip]
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /usr/local/lib
[snip]
checking XML:arser perl module... no: documentation requires XML:arser module and will not be built.
checking whether to build under GPL... no
checking whether to build the debugger... no
checking where to find xml parser... ./configure: line 20831: 0: command not found
not found (panic)
configure: error: Couldn't find the expat libraries
[root@tibor Sablot-1.0.2]# ./configure --with-expat=/usr/local/libchecking for a
[snip]
checking for Expat installation integrity... configure: error: prefix for Expat not valid (include dir)

This is /usr/local/lib/

# ls
html2ps/ libexpat.so@ libxml2.so.2.6.16*
libcurl.a libexpat.so.0@ libz.a*
libcurl.la* libexpat.so.0.5.0* php/
libcurl.so@ libpq.so@ php.ini
libcurl.so.2@ libxml2.a pkgconfig/
libcurl.so.2.0.2* libxml2.la* xml2Conf.sh
libexpat.a libxml2.so@
libexpat.la* libxml2.so.2@

Expat is also in /usr/lib the source directory is in /usr/local/src None of these directories work. I also tried setting CFLAGS for the directory. I don't have the syntax I used fot that. Thank you for any help you can give
The right command to use might be ./configure --with-expat=/usr/local
depending on what ./configure --help gives . Also It seem you are missing a perl module.
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 06:16 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,