[redland-dev] cygwin build - raptor2-2.0.0.tar.gz

Iraklis Leontiadis leontiad at gmail.com
Tue Jan 18 15:42:47 CET 2011


Afterwards I built the rasqal and then I tried to install the redland-1.0.12 
software but and I "make" it I received the following error:

$ make
Making all in libltdl
make[1]: Entering directory `/home/home/redland-1.0.12/libltdl'
make  all-am
make[2]: Entering directory `/home/home/redland-1.0.12/libltdl'
make[2]: Leaving directory `/home/home/redland-1.0.12/libltdl'
make[1]: Leaving directory `/home/home/redland-1.0.12/libltdl'
Making all in src
make[1]: Entering directory `/home/home/redland-1.0.12/src'
make  all-recursive
make[2]: Entering directory `/home/home/redland-1.0.12/src'
Making all in win32
make[3]: Entering directory `/home/home/redland-1.0.12/src/win32'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/home/redland-1.0.12/src/win32'
make[3]: Entering directory `/home/home/redland-1.0.12/src'
/bin/sh ../libtool  --tag=CC   --mode=compile 
cc -DHAVE_CONFIG_H -I.  -I/usr/local/include/raptor2   -I/usr/local/include/rasqal 
 -I/
usr/local/include/raptor2    -DPKGDATADIR="\"/usr/local/share/redland\""  -I/usr/local/include/raptor2 
   -I/usr/local/include/rasqal
-I/usr/local/include/raptor2     -DREDLAND_MODULE_PATH="\""/usr/local/lib/redland"\"" 
 -DLIBRDF_INTERNAL=1 -g -O2 -MT rdf_parser_rapto
r.lo -MD -MP -MF .deps/rdf_parser_raptor.Tpo -c -o rdf_parser_raptor.lo 
rdf_parser_raptor.c
libtool: compile: 
 gcc -DHAVE_CONFIG_H -I. -I/usr/local/include/raptor2 -I/usr/local/include/rasqal 
 -I/usr/local/include/raptor2 -DPK
GDATADIR=\"/usr/local/share/redland\" -I/usr/local/include/raptor2 -I/usr/local/include/rasqal 
 -I/usr/local/include/raptor2 -DREDLAND
_MODULE_PATH=\"/usr/local/lib/redland\" -DLIBRDF_INTERNAL=1 -g -O2 -MT 
rdf_parser_raptor.lo -MD -MP -MF .deps/rdf_parser_raptor.Tpo -
c rdf_parser_raptor.c  -DDLL_EXPORT -DPIC -o .libs/rdf_parser_raptor.o
rdf_parser_raptor.c: In function 'librdf_parser_raptor_constructor':
rdf_parser_raptor.c:1588: error: 'raptor_syntax_description' has no member 
named 'uri_string'
make[3]: *** [rdf_parser_raptor.lo] Error 1
make[3]: Leaving directory `/home/home/redland-1.0.12/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/home/redland-1.0.12/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/home/redland-1.0.12/src'
make: *** [all-recursive] Error 1

I realized that the source files are out of date because at line 1558 there 
are comments.
How can I fix this?

Iraklis

--------------------------------------------------
From: "Iraklis Leontiadis" <leontiad at gmail.com>
Sent: Tuesday, January 18, 2011 02:25 PM
To: <redland-dev at lists.librdf.org>
Cc: "Derlis" <orlandogregor at gmail.com>
Subject: Re: [redland-dev] cygwin build - raptor2-2.0.0.tar.gz

> I fixed it.I copied raptor2.pc to /usr/lib/pkgconfig and it worked.
>
> --------------------------------------------------
> From: "Derlis" <orlandogregor at gmail.com>
> Sent: Tuesday, January 18, 2011 12:56 PM
> To: "Iraklis Leontiadis" <leontiad at gmail.com>
> Subject: Re: [redland-dev] cygwin build - raptor2-2.0.0.tar.gz
>
>> HI hi..
>> Try the rasqal-0.9.20 version and be sure to clean the incomplete 
>> installations
>>
>> make clean
>> make distclean
>>
>> this is part of the script that I use
>>
>> export HOME=/ontoproyect/usr
>> export PATH=$HOME/bin:$PATH
>>
>> ./configure --enable-static CPPFLAGS="-I$HOME/include" 
>> LDFLAGS="-L$HOME/lib" 
>> PKG_CONFIG_PATH="$HOME/lib/pkgconfig" --bindir=$HOME/bin --sbindir=$HOME/sbin 
>>  --libexecdir=$HOME/libexec --sysconfdir=$HOME/etc --sharedstatedir=$HOME/com 
>>  --localstatedir=$HOME/var --libdir=$HOME/lib --includedir=$HOME/include  
>> --datarootdir=$HOME/share --oldincludedir=$HOME/old --enable-raptor2
>> make
>> make install
>>
>> I even compiled for ARM, which is why I have it well organized in each 
>> folder.
>> I hope it helps you ..
>>
>> Cheers
>>
>>
>>
>> --------------------------------------------------
>> From: "Iraklis Leontiadis" <leontiad at gmail.com>
>> Sent: Tuesday, January 18, 2011 11:56 AM
>> To: "Derlis" <orlandogregor at gmail.com>
>> Subject: Re: [redland-dev] cygwin build - raptor2-2.0.0.tar.gz
>>
>>> Hi Derlis and thank for your reply.
>>> What I did is that I add this code inside the configuration of the 
>>> rasqal :
>>> 11984 # raptor V2 is REQUIRED; --enable-raptor2 option was removed
>>> 11985 RAPTOR_MIN_VERSION=2.0.0
>>> 11986
>>> 11987    # Check whether --enable-raptor2 was given.
>>> 11988 if test "${enable-raptor2 set}" = set; then :
>>> 11989  enableval=$enable-raptor2
>>> 11990 else
>>> 11991 enable-raptor2 ="no"
>>> 11992 fi
>>>
>>> as there is no code for the --enable-raptor2 flag.
>>> But I  am getting an error when I run ./configure for rasqal. that 
>>> says --enable-raptor2 is unrecognized and then the same error for not 
>>> having installed Raptor v2.
>>> Since I've installed raptor 2-2.0.0 why the configure prompts with this 
>>> error?
>>>
>>> Thanks
>>> Iraklis
>>>
>>>
>>> --------------------------------------------------
>>> From: "Derlis" <orlandogregor at gmail.com>
>>> Sent: Tuesday, January 18, 2011 11:27 AM
>>> To: "Iraklis Leontiadis" <leontiad at gmail.com>
>>> Subject: Re: [redland-dev] cygwin build - raptor2-2.0.0.tar.gz
>>>
>>>> Hello Iraklis, you have to --enable-raptor2 in your ./configure
>>>> See more details in ./configure -h
>>>>
>>>> Cheers
>>>>
>>>> Derlis Gregor
>>>>
>>>>
>>>>
>>>> --------------------------------------------------
>>>> From: "Iraklis Leontiadis" <leontiad at gmail.com>
>>>> Sent: Tuesday, January 18, 2011 11:20 AM
>>>> To: "Lauri Aalto" <laalto at gmail.com>
>>>> Cc: <redland-dev at lists.librdf.org>
>>>> Subject: Re: [redland-dev] cygwin build - raptor2-2.0.0.tar.gz
>>>>
>>>>> Thanks . I've successfully installed it and I make a fast test with 
>>>>> the
>>>>> rapper tool provided by raptor under the utils dir.
>>>>> Now I'd like to install rasqal 0.9.22 but at the configuring phase it
>>>>> prompts me with an error that raptor V2 is not installed.And it is 
>>>>> true
>>>>> because there is no raptor.exe somewhere but after build the rapper 
>>>>> tool had
>>>>> been created
>>>>> Also when I run "whereis raptor" cygwin shell replies with an empty 
>>>>> answer.
>>>>>
>>>>> Iraklis
>>>>>
>>>>>
>>>>> --------------------------------------------------
>>>>> From: "Lauri Aalto" <laalto at gmail.com>
>>>>> Sent: Tuesday, January 18, 2011 10:37 AM
>>>>> To: "Iraklis Leontiadis" <leontiad at gmail.com>
>>>>> Cc: <redland-dev at lists.librdf.org>
>>>>> Subject: Re: [redland-dev] cygwin build - raptor2-2.0.0.tar.gz
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> you only need to autogen.sh if you are building from github sources.
>>>>>> For a release tarball the build process is just
>>>>>>
>>>>>>   ./configure [...] && make && make install
>>>>>>
>>>>>> To get it fixed, rerun configure without --enable-maintainer-mode.
>>>>>> Maintainer mode gets enabled automagically by autogen.sh and it
>>>>>> activates e.g. docs generation which needs files not present in
>>>>>> release tarballs.
>>>>>>
>>>>>> Lauri
>>>>>>
>>>>>> On Tue, Jan 18, 2011 at 11:23 AM, Iraklis Leontiadis 
>>>>>> <leontiad at gmail.com>
>>>>>> wrote:
>>>>>>> I downloaded raptor2-2.0.0.tar.gz on my windows 7 machine and I 
>>>>>>> tried to
>>>>>>> install the lib .
>>>>>>> 1) I run the autogen  script successfully.
>>>>>>> 2)I run the configure script successfully.
>>>>>>> 3) when I tried to build the raptor software with the  tha make 
>>>>>>> command
>>>>>>> under cygwin I got the following error :
>>>>>>> home at home-PC ~/raptor2-2.0.0
>>>>>>> $ make
>>>>>>> Making all in src
>>>>>>> make[1]: Entering directory `/home/home/raptor2-2.0.0/src'
>>>>>>> make  all-am
>>>>>>> make[2]: Entering directory `/home/home/raptor2-2.0.0/src'
>>>>>>> make[2]: Leaving directory `/home/home/raptor2-2.0.0/src'
>>>>>>> make[1]: Leaving directory `/home/home/raptor2-2.0.0/src'
>>>>>>> Making all in utils
>>>>>>> make[1]: Entering directory `/home/home/raptor2-2.0.0/utils'
>>>>>>> make[1]: Nothing to be done for `all'.
>>>>>>> make[1]: Leaving directory `/home/home/raptor2-2.0.0/utils'
>>>>>>> Making all in docs
>>>>>>> make[1]: Entering directory `/home/home/raptor2-2.0.0/docs'
>>>>>>> make[1]: *** No rule to make target `raptor-1-to-2-map.tsv', needed 
>>>>>>> by
>>>>>>> `raptor-changes.xml'.  Stop.
>>>>>>> make[1]: Leaving directory `/home/home/raptor2-2.0.0/docs'
>>>>>>> make: *** [all-recursive] Error 1
>>>>>>>
>>>>>>>
>>>>>>> Could anyone help me with the build?Am I completely wrong as I am 
>>>>>>> trying
>>>>>>> to
>>>>>>> install it with cygwin under a windows machine?
>>>>>>>
>>>>>>> Thank you in advance
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> redland-dev mailing list
>>>>>>> redland-dev at lists.librdf.org
>>>>>>> http://lists.librdf.org/mailman/listinfo/redland-dev
>>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> redland-dev mailing list
>>>>> redland-dev at lists.librdf.org
>>>>> http://lists.librdf.org/mailman/listinfo/redland-dev
>>>>
>>>>
>>
> 


More information about the redland-dev mailing list