No subject


Mon Feb 7 10:29:41 EST 2005


[Swig] Problem building on HP-UX 10.20 
Bill Hess writes:
 > I am getting the following error trying to build SWIG 1.1.5 - Any ideas?
 > 

Yes. You're not using the version of SWIG1.1p5 downloaded from
www.swig.org.

ANSI C++ added some restrictions that broke early versions of
SWIG1.1p5 because a few declarations are missing an 'int' type.
This has since been fixed.

Cheers,

Dave

--------------------- END PASTE -----------------



Bye...
/Sebast
<<<<<<<<<<<<<<<<< End of email >>>>>>>>>>>>>>>>


}> -----Original Message-----
}> From: Chris Herrnberger [mailto:chris123 at netcom.ca]
}> Sent: Tuesday, January 30, 2001 2:30 PM
}> To: <oclug
}> Subject: [oclug] gnucash hlp pls
}> 
}> 
}> Need some help pls:
}> 
}> Trying to install gnucash 1.4.10 form source and SWIG is 
}> giving me some 
}> concerns. The following output is provided for review
}> 
}> ./configure
}> 
}> loading cache ./config.cache
}> checking MACHDEP... linux2
}> checking for c++... (cached) c++
}> checking whether the C++ compiler (c++  ) works... yes
}> checking whether the C++ compiler (c++  ) is a cross-compiler... no
}> checking whether we are using GNU C++... (cached) yes
}> checking whether c++ accepts -g... (cached) yes
}> checking for gcc... (cached) gcc
}> checking whether the C compiler (gcc  ) works... yes
}> checking whether the C compiler (gcc  ) is a cross-compiler... no
}> checking whether we are using GNU C... (cached) yes
}> checking whether gcc accepts -g... (cached) yes
}> checking for ranlib... (cached) ranlib
}> checking for ar... (cached) ar
}> checking how to run the C++ preprocessor... (cached) c++ -E
}> checking for ANSI C header files... (cached) yes
}> checking for working alloca.h... (cached) no
}> checking for alloca... (cached) yes
}> checking for bison... (cached) bison -y
}> checking SO... .so
}> checking LDSHARED... gcc -shared
}> checking CCSHARED... -fpic
}> checking LINKFORSHARED... -Xlinker -export-dynamic
}> 
}> ./make 
}> 
}> making Makefile in subdirectory SWIG
}> make[1]: Entering directory `/home/chris/gnucash/SWIG1.1p5/SWIG'
}> make[1]: `Makefile' is up to date.
}> make[1]: Leaving directory `/home/chris/gnucash/SWIG1.1p5/SWIG'
}> making Makefile in subdirectory Modules
}> make[1]: Entering directory `/home/chris/gnucash/SWIG1.1p5/Modules'
}> make[1]: `Makefile' is up to date.
}> make[1]: Leaving directory `/home/chris/gnucash/SWIG1.1p5/Modules'
}> Making the SWIG Parser...(here is where it barfs)
}> make[1]: Entering directory `/home/chris/gnucash/SWIG1.1p5/SWIG'
}> c++ -I../Include -g -O2 -DSWIG_LIB='"/usr/local/lib/swig_lib"' 
}> -DSWIG_CC='"c++"'  -DSTDC_HEADERS=1 -DHAVE_ALLOCA=1 -DSWIG_LANG=TCL 
}> -DSWIG_DOC=ASCII -DHAVE_LIBDL=1  -c -o scanner.o scanner.cxx
}> scanner.cxx: In function `void scanner_close()':
}> scanner.cxx:163: ANSI C++ forbids declaration `lib_insert' 
}> with no type 
}> make[1]: *** [scanner.o] Error 1
}> make[1]: Leaving directory `/home/chris/gnucash/SWIG1.1p5/SWIG'
}> make: *** [swig] Error 2 
}> 
}> any insights would be appreciated.
}>  
}> __________________________________
}> Chris Herrnberger
}> _______________________________________________
}> oclug mailing list
}> oclug at lists.oclug.on.ca
}> http://www.oclug.on.ca/mailman/listinfo/oclug
}> 



More information about the OCLUG mailing list