The compile error is below.  I don't know if this is
relevant or not, but I had trouble getting gmime to
compile, so I just grabbed someone's RPM from -- well,
somewhere.

]# rpm -qa |grep gmime
gmime-2.1.9-5

which put gmime-2.0.pc in /usr/local/lib/pkgconfig and
I was getting configure errors  to put gmime in my
PKG_CONFIG_PATH.  This was fixed with a symlink in
/usr/lib/pkgconfig as such

]#l /usr/lib/pkgconfig/ |grep gmime
lrwxrwxrwx   1 root root    37 Jun 24 11:02
gmime-2.0.pc -> /usr/local/lib/pkgconfig/gmime-2.0.pc


But now I'm getting the following and I'm stuck.  I
saw a previous post from someone complaining that the
daily snapshop wouldn't compile, but that was on May
21st.  The response was simply, "That was fixed
already."  Then the thead just ended.

I just checked some path structure -- this may or may
not have anything to do with this.

]# ls /usr/local/include/gmime-2.0
gmime

]# ls /usr/local/include/gmime-2.0/gmime/
gmime-charset.h         gmime-filter-charset.h 
gmime-gpg-context.h   (etc, etc, etc)

Should the .h files be in /usr/local/include/gmime-2.0
?




COMPILE ERROR

gcc -DHAVE_CONFIG_H -I. -I. -I. -I.    -g -O2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/local/include/gmime-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -W -Wall -Wpointer-arith
-Wstrict-prototypes -c main.c
main.c: In function `main':
main.c:420: warning: implicit declaration of function
`g_mime_shutdown'
main.c:107: warning: 'headers' might be used
uninitialized in this function
main.c: At top level:
main.c:70: warning: 'yes_to_all' defined but not used
main.c:71: warning: 'no_to_all' defined but not used
main.c:74: warning: 'quiet' defined but not used
main.c:76: warning: 'reallyquiet' defined but not used
/bin/sh ./libtool --mode=link gcc  -g -O2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/local/include/gmime-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -W -Wall -Wpointer-arith
-Wstrict-prototypes -lglib-2.0   -L/usr/local/lib
-lgmime-2.0 -lnsl -lgobject-2.0 -lglib-2.0   -o
dbmail-smtp  main.o libdbmail.la
gcc -g -O2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
-I/usr/local/include/gmime-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith
-Wstrict-prototypes -o .libs/dbmail-smtp main.o 
-L/usr/local/lib ./.libs/libdbmail.a
/usr/local/src/dbmail-2.1.1/pgsql/.libs/libsqldbmail.so
-L/usr/local/pgsql/lib -lcrypt -lpq
/usr/local/lib/libgmime-2.0.so -lnsl -lgobject-2.0
-lglib-2.0 -Wl,--rpath -Wl,/usr/local/lib/dbmail
-Wl,--rpath -Wl,/usr/local/lib
main.o(.text+0x200): In function `main':
/usr/local/src/dbmail-2.1.1/main.c:420: undefined
reference to `g_mime_shutdown'
collect2: ld returned 1 exit status
make[2]: *** [dbmail-smtp] Error 1
make[2]: Leaving directory
`/usr/local/src/dbmail-2.1.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/local/src/dbmail-2.1.1'
make: *** [all-recursive-am] Error 2




Reply via email to