Re: Oaf-0.6.5 compile errors. No oaf-factory.h, ...



Darin Adler wrote:
> 

Hi Darin,

Thanks for the followup.

I got the new libpopt and installed it.  No more
problems with the previous errors we discussed. I had
one small new problem compiling oaf that I solved that
you'll want to know about.   More on that below....




> on 4/24/01 2:43 PM, Matthew Schalit at mschalit pacbell net wrote:
> 
> >> I fixed the problem by adding some more dependencies on
> >> 2001-04-17, so the next release should fix that problem.



I just wanted to let you know that the whole reason
I had this header problem was because I changed an
important option in ltconfig that set "interlibrary
dependencies are supported..... pass_all".  (I've
been discussing it on the libtool list and with SCO).

I figured that could be a problem.

When deleted the whole thing and stared from scratch,
extracting the gzip and untarring oaf and not modifying
any files, my gmake didn't have the problem making 
oaf-factory.h.

So enough of that :-)


 
 
> There seem to be some new tarballs in the
> ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/ directory.

Thanks for that link.



Here's my new problem.  -lintl was not added into the soup.
It was found in configure.  Configure determined that it was
needed to some gettext type stuff.


checking whether NLS is requested... yes
checking for libintl.h... yes
checking for gettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for gettext in libintl... yes
checking for gettext in -lintl... yes


But then I have this error (that I fixed by adding in the -lintl
to test/Makefile's LDADD line.):

-------------------------------------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../liboaf 
-DOAFINFODIR=\"/usr/local/share/oaf\"    -I/usr/local/include/glib-1.2 
-I/usr/local/lib/glib/include -I/usr/local/include 
-I/usr/local/include/gnome-xml -I/usr/local/include/glib-1.2 
-I/usr/local/lib/glib/include -g -O2 -c empty-stubs.c 

/bin/sh ../libtool --mode=link gcc  -g -O2  -o oaf-run-query  
oaf-run-query.o empty-common.o empty-stubs.o ../liboaf/liboaf.la 
-L/usr/local/lib -lORBit -lIIOP -lORBitutil -lglib -lsocket -lnsl -lm 
-L/usr/local/lib -lgmodule -lglib -lpopt

mkdir .libs
gcc -g -O2 -o .libs/oaf-run-query oaf-run-query.o empty-common.o 
empty-stubs.o ../liboaf/.libs/liboaf.so -L/usr/local/lib -lORBit -lIIOP 
-lORBitutil -lglib -lsocket -lnsl -lm -lgmodule -lglib -lpopt 
-L/usr/local/lib -lORBit -lIIOP -lORBitutil -lglib -lsocket -lnsl -lm 
-L/usr/local/lib -lgmodule -lglib -lpopt -Wl,--rpath -Wl,/usr/local/lib

../liboaf/.libs/liboaf.so: undefined reference to `dgettext'
../liboaf/.libs/liboaf.so: undefined reference to `bindtextdomain'
collect2: ld returned 1 exit status
gmake[2]: *** [oaf-run-query] Error 1
gmake[2]: Leaving directory `/home/matthew/Uber/Gnome/oaf-0.6.5/test'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/matthew/Uber/Gnome/oaf-0.6.5'
gmake: *** [all-recursive-am] Error 2
--------------------------------------------------------------------------------


So, no big there, you probably fixed that in CVS.
I read the FAQ, but it didn't mention that anonymous CVS is restricted.
Is that the case?






And finally my test results.  7 out of 13 passed on my
i586-sco-sysv5uw7.1.1         Comments?


----------------------------------------------------------------------
Making check in test
gmake[1]: Entering directory `/home/matthew/Uber/Gnome/oaf-0.6.5/test'
OAF_INFO_PATH="../test:$OAF_INFO_PATH" PATH="../test:$PATH" ../test/oaf-test-client

** WARNING **: Activation by query failed!

** WARNING **: Exception '' (IDL:OAF/GeneralError:1.0) finding oafd by query

** WARNING **: Activation from id failed!

** WARNING **: Exception '' (IDL:OAF/GeneralError:1.0) finding oafd from id

** WARNING **: Activation from aid failed!

** WARNING **: Exception '' (IDL:OAF/GeneralError:1.0) finding oafd from aid
Broken link test passed 1 (''), passed 2
Broken exe test failed 1, passed 2
Circular link test failed 1, passed 2
Server that doesn't register IID test failed 1, passed 2
Server with IID but no type or location passed 1 (''), passed 2

7 of 13 tests passed (some failures)
It looks like you haven't installed broken.oafinfo into ${prefix}/oaf, this 
must be done by hand to avoid redundant warnings.  Another possibility is that 
you failed to kill oafd before running make check; try running oaf-slay.
gmake[1]: *** [check] Error 1
gmake[1]: Leaving directory `/home/matthew/Uber/Gnome/oaf-0.6.5/test'
gmake: *** [check-recursive] Error 1
----------------------------------------------------------------------------


Thanks,
Matthew




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