[redland-dev] Cannot make in cygwing
ana at nsc.sony.co.jp
ana at nsc.sony.co.jp
Thu Jul 10 12:00:56 BST 2003
Hi Dave,
Thanks for your help!
Indeed, the configure option --enable-parsers=raptor fix that error (although I did have expat).
For your information, these lines appeared in the new Makefile:
# Why is this not in the default makefile?
CC = gcc
CFLAGS = -DLIBRDF_INTERNAL=1 -I$(top_srcdir)/expat/xmlparse -g -I/usr/local/include -I/usr/local/include/w3c-libwww -DHAVE_CONFIG_H $(MEM)
STANDARD_CFLAGS = -DLIBRDF_INTERNAL=1 -I$(top_srcdir)/expat/xmlparse -g -I/usr/local/include -I/usr/local/include/w3c-libwww -DHAVE_CONFIG_H $(MEM)
LIBS = -ldb -L/usr/local/lib -lwwwxml -lxmltok -lxmlparse -lwwwinit -lwwwapp -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5
$(MEM_LIBS)
In any case, now, I get a new error. Please, see below.
Again, your help will be really appreciated.
Thanks,
Ana
---
gcc -DLIBRDF_INTERNAL=1 -I./expat/xmlparse -g -I/usr/local/include - I/usr/local/include/w3c-libwww -DHAVE_CONFIG_H -o example1.exe example1.o ./.libs/librdf.a
-L/usr/local/lib -ldb /usr/local/lib/libwwwxml.a /usr/local/lib/libxmltok.a /usr/local/lib/libxmlparse.a /usr/local/lib/libwwwinit.a /usr/local/lib/libwwwapp.a /usr/local/lib/libwwwhtml.a /usr/local/lib/libwwwtelnet.a /usr/local/lib/libwwwnews.a /usr/local/lib/libwwwhttp.a /usr/local/lib/libwwwmime.a /usr/local/lib/libwwwgopher.a /usr/local/lib/libwwwftp.a /usr/local/lib/libwwwfile.a /usr/local/lib/libwwwdir.a /usr/local/lib/libwwwcache.a /usr/local/lib/libwwwstream.a /usr/local/lib/libwwwmux.a /usr/local/lib/libwwwtrans.a /usr/local/lib/libwwwcore.a /usr/local/lib/libwwwutils.a /usr/local/lib/libmd5.a
./.libs/librdf.a(ntriples_parse.o)(.text+0x14f8): In function `raptor_ntriples_parse_file': /cygdrive/c/Ana/Project/Tools/SemanticWeb/Redland/ntriples_parse.c:1064: undefined reference to `_errno'
./.libs/librdf.a(raptor_parse.o)(.text+0x2663): In function `raptor_parse_file':
/cygdrive/c/Ana/Project/Tools/SemanticWeb/Redland/raptor_parse.c:2695: undefined reference to `_errno'
collect2: ld returned 1 exit status
make[2]: *** [example1.exe] Error 1
make[2]: Leaving directory `/cygdrive/c/Ana/Project/Tools/SemanticWeb/Redland'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/Ana/Project/Tools/SemanticWeb/Redland'
make: *** [all-recursive-am] Error 2
---
Ana B. Benitez >ana at nsc.sony.co.jp<
-----Original Message-----
From: Dave Beckett [mailto:dave.beckett at bristol.ac.uk]
Sent: Thursday, July 10, 2003 8:27 AM
To: ana at nsc.sony.co.jp
Cc: redland-dev at lists.librdf.org
Subject: Re: [redland-dev] Cannot make in cygwing
On Wed, 9 Jul 2003 ana at nsc.sony.co.jp wrote:
> I am trying to install Redland 0.9.12 in cygwin 1.3.22-1 with no success.
>
> If I do "./configure --prefix=/usr", I do not get any errors or warnings
> but "make" returns the errors below.
>From my reading, it s a problem with the repat RDF parser trying
to use expat - which isn't present. You can disable this by using
the configure option --enable-parsers=raptor that should let
the compile continue. I think this is described in the INSTALL.tml
in the distribution.
>
> If I try "./autogen.sh" directly, I only get warnings about AC_TRY_RUN
> but "make" complains about a missing operator in Makefile.
The warnings are common - I never managed to stop automake warning
after several years of trying. I don't know about the make error.
> I would appreciate your help!
Hopefully the first suggestion should work.
Dave
More information about the redland-dev
mailing list