[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: GTKWave build problem



Maybe you got me a little closer - I looked at the config.log for building GTKWave, here's what I found:

...
...
configure:8148: checking for xml2-config
configure:8166: found /usr/local/bin/xml2-config
configure:8179: result: /usr/local/bin/xml2-config
configure:8187: checking for libxml - version >= 2.4.0
configure:8291: gcc -o conftest -g -O2 -I/usr/local/include/libxml2 conftest.c -L/usr/local/lib -lxml2 -lz -lpthread -liconv -lm >&5
configure:8294: $? = 0
configure:8296: ./conftest
./conftest: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
configure:8299: $? = 127
configure: program exited with status 127
configure: failed program was:
#line 8210 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <libxml/xmlversion.h>

int
main()
...
...

----- When I run xml2-config I get -----

[root@PaulsLinux root]# xml2-config --cflags
-I/usr/local/include/libxml2

----- So I tried setting LD_LIBRARY_PATH -----

[root@PaulsLinux gtkwave-2.0.0pre3-20030319]# LD_LIBRARY_PATH=/usr/local/include
[root@PaulsLinux gtkwave-2.0.0pre3-20030319]# export LD_LIBRARY_PATH

sigh, to no avail, same message.

any thoughts? Maybe I need to learn how to handle the mysterious "prefix" stuff... paul

Charles Lepple wrote:

Paul Anderson said:

Hi folks, one more build hurdle and I'll be gEDA-ing! In running
configure for GTKWave, I get
[...]

checking for GTK - version >= 1.2.0... yes
checking for xml2-config... /usr/local/bin/xml2-config
checking for libxml - version >= 2.4.0... no

What probably happens is that xml2-config is called with flags such as
'--cflags' and '--ldflags'. These specify where the xml2 library has been
installed. You might check the config log to see what was returned, and if
in fact libxml2.* lives in the directory returned by 'xml2-config
--ldflags'.

--
Paul Anderson
Senior Engineer
Alpha Beta Technologies, Inc.
3411C Triana Blvd. SW
Huntsville AL 35805
256-534-9067 x280
256-603-9308