[OPEN-ILS-DEV] some notes on build problems

Harry Bochner Harry.Bochner at biogenidec.com
Thu Mar 22 17:09:38 EDT 2007


> Do you know which parts were failing due to this?  If we can narrow it
> down then perhaps we can provide a localized fix to the makefiles.

Well, -ltermcap is needed for Open-ILS/src/extras; I get this:

cc -L /home/bochnerh/src/Evergreen-ILS-1.0.3.2/.tmp/opensrf -L . 
oils_requestor
.o  -lreadline -loils_utils -lopensrf -lobjson -lxml2 -lfieldmapper -o 
oils_requestor
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libreadline.so: undefined 
reference to `tgetnum'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libreadline.so: undefined 
reference to `tgoto'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libreadline.so: undefined 
reference to `tgetflag'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libreadline.so: undefined 
reference to `BC'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libreadline.so: undefined 
reference to `tputs'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libreadline.so: undefined 
reference to `PC'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libreadline.so: undefined 
reference to `tgetent'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libreadline.so: undefined 
reference to `UP'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libreadline.so: undefined 
reference to `tgetstr'

At the moment I can't reproduce the symptoms that led me to think I
needed to add -ldl and -lxml2 ...

Hmmm, another problem I had comes back to me now. I found out about
memcached from the Wiki, installed it w/o problems, then tried to
compile Evergreen, and got complaints that "memcache.h" wasn't being
found. It took an embarassingly long time to figure out that I needed
to install libmemcache as well, to provide the client side API to
memcached ...

> you should find 1.0.3.2 easier to get going.  Keep us updated, and 
thanks!

One problem so far: the default make targets aren't running the SQL to
create the tables. (Others have complained about this; the discussion
seemed to indicate that the problem wasn't present in the stable
versions, but I'm seeing it in 1.0.3.2 ...)
I've already gotten used to running build-db.sh by hand, so no problem
there ;-)

I've started working on the configuration files, but it will be a
while before I join the crowd that's trying to fit all the pieces
together ...

-- 
Harry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20070322/2e911bc7/attachment.html


More information about the Open-ils-dev mailing list