help-octave
[Top][All Lists]
Advanced

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

Re: Installation error from development sources


From: xnand
Subject: Re: Installation error from development sources
Date: Tue, 16 Mar 2010 01:58:02 -0700 (PDT)



David Grundberg-3 wrote:
> 
> xnand wrote:
>>
>> LUK ShunTim-3 wrote:
>>   
>>> xnand wrote:
>>>     
>>>> xnand wrote:
>>>>       
>>>>> David Grundberg-3 wrote:
>>>>>         
>>>>>> xnand wrote:
>>>>>>           
>>>>>>> Hi all.
>>>>>>>
>>>>>>> I am installing octave from the development sources. Below is the
>>>>>>> ending
>>>>>>> part of the output I got for the command "make":
>>>>>>>
>>>>>>> /bin/sh ../build-aux/ylwrap lex.ll lex.octave_.c lex.cc -- flex -I
>>>>>>> -I
>>>>>>> "/home/me/octave/src/lex.ll", line 27: unrecognized '%' directive
>>>>>>> "/home/me/octave/src/lex.ll", line 28: bad character: #
>>>>>>> "/home/me/octave/src/lex.ll", line 28: unknown error processing
>>>>>>> section
>>>>>>> 1
>>>>>>> "/home/me/octave/src/lex.ll", line 29: bad character: #
>>>>>>> "/home/me/octave/src/lex.ll", line 29: bad character: <
>>>>>>> "/home/me/octave/src/lex.ll", line 29: bad character: .
>>>>>>> "/home/me/octave/src/lex.ll", line 29: bad character: >
>>>>>>> "/home/me/octave/src/lex.ll", line 30: bad character: #
>>>>>>> "/home/me/octave/src/lex.ll", line 31: bad character: }
>>>>>>> make[2]: *** [lex.cc] Error 1
>>>>>>> make[2]: Leaving directory `/home/me/octave/src'
>>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>>> make[1]: Leaving directory `/home/me/octave'
>>>>>>> make: *** [all] Error 2
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> Nands
>>>>>>>   
>>>>>>>             
>>>>>> What lexical analyzer generator are you running? And which version? 
>>>>>> Check the configure output.
>>>>>>
>>>>>> hth,
>>>>>> David
>>>>>> _______________________________________________
>>>>>> Help-octave mailing list
>>>>>> address@hidden
>>>>>> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>>>>>>
>>>>>>
>>>>>>           
>>>>> Hi David.
>>>>>
>>>>> It's flex rpm package, version : 2.5.4a, release : 41.fc6.
>>>>> The lines related to lex in configure output were:
>>>>> checking for flex... flex
>>>>> checking lex output file root... lex.yy
>>>>> checking lex library... -lfl
>>>>>
>>>>> Thanks.
>>>>>
>>>>> Nands
>>>>>
>>>>>
>>>>>         
>>>> Hi all.
>>>>
>>>> I installed flex-2.5.35, and now I am getting this:
>>>>
>>>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu
>>>> -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -g -O2
>>>> -DHAVE_CONFIG_H -I/usr/include/freetype2 -Wall -W -Wshadow
>>>> -Wold-style-cast
>>>> -Wformat -g -O2 -pthread -g -O2 -MT
>>>> DLD-FUNCTIONS/DLD_FUNCTIONS_convhulln_la-convhulln.lo -MD -MP -MF
>>>> DLD-FUNCTIONS/.deps/DLD_FUNCTIONS_convhulln_la-convhulln.Tpo -c
>>>> DLD-FUNCTIONS/convhulln.cc  -fPIC -DPIC -o
>>>> DLD-FUNCTIONS/.libs/DLD_FUNCTIONS_convhulln_la-convhulln.o
>>>> DLD-FUNCTIONS/convhulln.cc:45:27: error: qhull/qhull_a.h: No such file
>>>> or
>>>> directory
>>>>       
>>> It seems the qhull headers are not found. You may need to install the
>>> development package of qhull (usually called libqhull-dev or
>>> libqhull-devel) of your linux(?) distribution.
>>>
>>> Regards,
>>> ST
>>> --
>>>
>>>
>>> _______________________________________________
>>> Help-octave mailing list
>>> address@hidden
>>> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>>>
>>>
>>>     
>>
>> Hi all.
>>
>> Thanks to LUK ShunTim, I installed development package of qhull and got
>> cured of the error. But now, new error:
>>
>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu
>> -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -g -O2
>> -DHAVE_CONFIG_H -I/usr/include/freetype2 -Wall -W -Wshadow
>> -Wold-style-cast
>> -Wformat -g -O2 -pthread -g -O2 -MT
>> DLD-FUNCTIONS/DLD_FUNCTIONS_urlwrite_la-urlwrite.lo -MD -MP -MF
>> DLD-FUNCTIONS/.deps/DLD_FUNCTIONS_urlwrite_la-urlwrite.Tpo -c
>> DLD-FUNCTIONS/urlwrite.cc  -fPIC -DPIC -o
>> DLD-FUNCTIONS/.libs/DLD_FUNCTIONS_urlwrite_la-urlwrite.o
>> DLD-FUNCTIONS/urlwrite.cc: In member function 'string_vector
>> curl_handle::list() const':
>> DLD-FUNCTIONS/urlwrite.cc:405: error: 'CURLOPT_DIRLISTONLY' was not
>> declared
>> in this scope
>> DLD-FUNCTIONS/urlwrite.cc:412: error: 'CURLOPT_DIRLISTONLY' was not
>> declared
>> in this scope
>> make[3]: *** [DLD-FUNCTIONS/DLD_FUNCTIONS_urlwrite_la-urlwrite.lo] Error
>> 1
>> make[3]: Leaving directory `/home/me/octave/src'
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory `/home/me/octave/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/me/octave'
>> make: *** [all] Error 2
>>
>> Thanks.
>>
>> Nanddeep
>>
>>   
> 
> I think you need a newer version of curl. If you don't feel like having 
> urlwrite/urlread support, you can disable curl (--without-curl) at 
> configuration.
> 
> David
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 
> 

Hi David.

I also thought that it must be because of old curl version. So installed
curl-7.20.0, but the error persists.

Thanks.

Nands
-- 
View this message in context: 
http://old.nabble.com/Installation-error-from-development-sources-tp27876372p27914838.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]