[OPEN-ILS-DEV] 1.6.0.3 won't make--anyone seen anything like this?

Jim Peterson jim at gmpl.org
Tue Apr 13 11:33:58 EDT 2010


I had all kinds of trouble getting it to install on Ubuntu Hardy, so I
switched to Debian Lenny and nearly everything went very smoothly. I had
to manually add the CPAN repositories, but once I did that I had no
other problems. 

Of course, this was done on a test server on which no other processes
live, so there was no issue with me installing a new OS. I'm thinking
that somewhere under the hood, where Ubuntu starts making its
Ubuntu-specific stuff happen, there is some interference with the
OpenSRF & Evergreen package installers. No proof, just speculation on my
part, but I can't argue with the experience between OSes.

Jim Peterson
Technology Coordinator
Goodnight Memorial Library
203 S. Main St.
Franklin, KY  42134
(270) 586-8397
www.gmpl.org
Tweet me @GMLGeek
Library Technology Blog
I'm on Facebook, too! 

On Tue, 2010-04-13 at 09:28 -0600, John Craig wrote:
> Hi Folks,
> 
> Anyone seen anything like this? (Some kind of version mismatch due to
> an unwise upgrade?)
> 
> Environment is Ubuntu 8.04 (Hardy) w/ the following kernel version (as
> you can see, just upgraded):
> 
> 2.6.24-27-server #1 SMP Fri Mar 12 01:23:09 UTC 2010 x86_64 GNU/Linux
> 
> Installation of prerequisites seemed to go w/o difficulty.
> 
> Things seem to go bad at step V (make) 
> 
> (as per these instructions for EV server install:
> http://open-ils.org/dokuwiki/doku.php?id=server:1.6.0:install). It
> starts out apparently all right, and then fizzles --I'm not sure where
> the problem lies so I've copied a bunch of the output (something wrong
> with compiling test_json_query.c?):
> 
> libtool: link: ( cd ".libs" && rm -f "oils_pcrud.la" && ln -s
> "../oils_pcrud.la" "oils_pcrud.la" )
> gcc -DPACKAGE_NAME=\"Open-ILS\" -DPACKAGE_TARNAME=\"open-ils\"
> -DPACKAGE_VERSION=\"trunk\" -DPACKAGE_STRING=\"Open-ILS\ trunk\"
> -DPACKAGE_BUGREPORT=\"open-ils-dev at list.georgialibraries.org\"
> -DPACKAGE_URL=\"\" -DPACKAGE=\"OpenILS\" -DVERSION=\"trunk\" -DST
> DC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -
> DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_LIBDBI=1
> -D
> HAVE_LIBEXPAT=1 -DHAVE_LIBREADLINE=1 -DHAVE_LIBXML2=1 -DHAVE_LIBXSLT=1
> -DHAVE_LIBPERL=1 -DHAVE_LIBPQ=1 -DSTDC_HEADERS=1 -DHAVE_F
> CNTL_H=1 -DHAVE_LANGINFO_H=1 -DHAVE_LOCALE_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBO
> OL_H=1 -DHAVE_STRFTIME=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MEMSET=1
> -DHAVE_NL_LANGINFO=1 -DHAVE_SETLOCALE=1 -DHAVE_STRCASECMP=1 -DHAVE
> _STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRNCASECMP=1 -I.
> -D_LARGEFILE64_SOURCE -pipe -g -Wall -O2 -fPIC -I../../i
> nclude -I/usr/include/libxml2/ -I/usr/include/apache2
> -I/usr/include/apr-1.0  -I/usr/include/libxml2//libxml  -I/tmp
> -I/openils/
> include/ -DOSRF_LOG_PARAMS -I../../../include/ -g -O2 -MT
> test_json_query.o -MD -MP -MF .deps/test_json_query.Tpo -c -o test_jso
> n_query.o test_json_query.c
> test_json_query.c: In function `test_json_query':
> test_json_query.c:190: warning: implicit declaration of function
> `jsonParse'
> test_json_query.c:190: warning: initialization makes pointer from
> integer without a cast
> mv -f .deps/test_json_query.Tpo .deps/test_json_query.Po
> /bin/bash ../../../libtool --tag=CC   --mode=link gcc
> -D_LARGEFILE64_SOURCE -pipe -g -Wall -O2 -fPIC -I../../include
> -I/usr/incl
> ude/libxml2/ -I/usr/include/apache2 -I/usr/include/apr-1.0
> -I/usr/include/libxml2//libxml  -I/tmp -I/openils/include/ -DOSRF_LO
> G_PARAMS -I../../../include/ -g -O2 -L. -L/tmp -L/openils/lib/
> -L/usr/local/lib/dbd/ -lopensrf  -loils_idl  -o test_json_query t
> est_json_query.o oils_cstore.la -lpq -lperl -lxslt -lxml2 -lreadline
> -lexpat -ldbi -ldl
> 
> *** Warning: Linking the executable test_json_query against the
> loadable module
> *** oils_cstore.so is not portable!
> libtool: link: gcc -D_LARGEFILE64_SOURCE -pipe -g -Wall -O2 -fPIC
> -I../../include -I/usr/include/libxml2/ -I/usr/include/apache2
>  -I/usr/include/apr-1.0 -I/usr/include/libxml2//libxml -I/tmp
> -I/openils/include/ -DOSRF_LOG_PARAMS -I../../../include/ -g -O2 -
> o .libs/test_json_query test_json_query.o
> -L/home/opensrf/Evergreen-ILS-1.6.0.3/Open-ILS/src/c-apps -L/tmp
> -L/openils/lib/ -L/u
> sr/local/lib/dbd/ /openils/lib/libopensrf.so /home/opensrf/Evergreen-ILS-1.6.0.3/Open-ILS/src/c-apps/.libs/liboils_idl.so ./.lib
> s/oils_cstore.so -lpq -lperl /usr/lib/libxslt.so /usr/lib/libxml2.so
> -lreadline /usr/lib/libexpat.so -ldbi -ldl
> ./.libs/oils_cstore.so: undefined reference to `OSRF_BUFFER_C_STR'
> collect2: ld returned 1 exit status
> make[2]: *** [test_json_query] Error 1
> make[2]: Leaving directory
> `/home/opensrf/Evergreen-ILS-1.6.0.3/Open-ILS/src/c-apps'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/opensrf/Evergreen-ILS-1.6.0.3/Open-ILS/src'
> make: *** [all-recursive] Error 1
> opensrf at Evergreen:~/Evergreen-ILS-1.6.0.3$ 



More information about the Open-ils-dev mailing list