Re: [xml] Compilation problem on gjobread

Date view Thread view Subject view Author view

From: Marc Billaud (marcbill@wanadoo.fr)
Date: Sat Jul 01 2000 - 03:13:17 EDT


Hello

Thanks regarding the help on the compilation pbs of gjobread. I ve
modified the makefile like this:

>CC=gcc
>CFLAGS=`/usr/local/bin/xml-config --cflags`
>LDFLAGS=`/usr/local/bin/xml-config --libs`
>
>all: gjobread
>
>clean:
> @(rm -f gjobread gjobread.o)
>
>gjobread.o : gjobread.c
> $(CC) $(CFLAGS) -c gjobread.c
>
>gjobread: gjobread.o
> $(CC) -o gjobread gjobread.o $(LDFLAGS)
>
>debug: gjobread.o
> $(CC) -g -o gjobread gjobread.o $(LDFLAGS)
>
>test: gjobread
> ./gjobread gjobs.xml

and now compilation & execution work correctly on the example with the
library "libxml2-2.1.0". After the installation of the lib
"libxml2-2.1.0", I didn't restart ldconfig because I didn't know exactly
what was the effect of such a command.

Thank one more time.
Bye
Marc

----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:19 EDT