octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #30721] Can't build tip on FreeBSD


From: forkandwait
Subject: [Octave-bug-tracker] [bug #30721] Can't build tip on FreeBSD
Date: Wed, 08 Sep 2010 07:16:30 +0000
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.11) Gecko/20100801 Firefox/3.5.11

Follow-up Comment #19, bug #30721 (project octave):

Fixed the last impasse by modifying YFLAGS with the following:

 LDFLAGS="-L/usr/local/lib -L/usr/lib -L$HOME/SOURCES/octave/libgnu"
CPPFLAGS="-I/usr/local/include -I/usr/include -I$HOME/SOURCES/octave/libgnu"
YACC='bison' YFLAGS=' -v ' ./configure --prefix=/opt/octave-tip

Still not successfully building, now I error out when trying to build
"scripts" directory, with an error in libgnu (either strings or getopt).  See
below

If anyone has any ideas, send them my way ... thanks!



gmake[2]: Leaving directory `/usr/home/wsprague/SOURCES/octave/src'
Making all in scripts
gmake[2]: Entering directory `/usr/home/wsprague/SOURCES/octave/scripts'
depbase=`echo gethelp.o | sed 's|[^/]*$|.deps/&|;s|.o$||'`;
        g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -I/usr/include
-I/home/wsprague/SOURCES/octave/libg  nu -g -O2  -DHAVE_CONFIG_H -mieee-fp
-I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include - 
I/usr/local/include   -Wall -W -Wshadow -Wold-style-cast -Wformat -g -O2
-D_THREAD_SAFE -pthread -g -O2 -MT get  help.o -MD -MP -MF $depbase.Tpo -c -o
gethelp.o gethelp.cc &&
        mv -f $depbase.Tpo $depbase.Po
In file included from /home/wsprague/SOURCES/octave/libgnu/sys/select.h:58,
                 from /usr/include/sys/time.h:319,
                 from /home/wsprague/SOURCES/octave/libgnu/sys/time.h:40,
                 from /home/wsprague/SOURCES/octave/libgnu/sys/select.h:51,
                 from /usr/include/sys/types.h:314,
                 from /home/wsprague/SOURCES/octave/libgnu/stdio.h:48,
                 from /usr/include/c++/4.2/cstdio:53,
                 from gethelp.cc:27:
/home/wsprague/SOURCES/octave/libgnu/string.h:452: error: expected ',' or
'...' before '__dest'
/home/wsprague/SOURCES/octave/libgnu/string.h:452: error: nonnull argument
with out-of-range operand number (ar  gument 1, operand 2)
In file included from /home/wsprague/SOURCES/octave/libgnu/unistd.h:100,
                 from /usr/include/c++/4.2/bits/gthr-default.h:44,
                 from /usr/include/c++/4.2/bits/gthr.h:114,
                 from /usr/include/c++/4.2/bits/c++io.h:43,
                 from /usr/include/c++/4.2/iosfwd:46,
                 from /usr/include/c++/4.2/ios:43,
                 from /usr/include/c++/4.2/ostream:45,
                 from /usr/include/c++/4.2/iostream:45,
                 from gethelp.cc:29:
/home/wsprague/SOURCES/octave/libgnu/getopt.h:196: error: redefinition of
'struct option'
/usr/include/getopt.h:53: error: previous definition of 'struct option'
gmake[2]: *** [gethelp.o] Error 1
gmake[2]: Leaving directory `/usr/home/wsprague/SOURCES/octave/scripts'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/wsprague/SOURCES/octave'
gmake: *** [all] Error 2
wsprague:octave 0/2 $ ls scripts/
@ftp            deprecated      image           mkinstalldirs   set          
  statistics
ChangeLog       elfun           io              optimization    signal       
  strings
Makefile        general         linear-algebra  path            sparse       
  testfun
Makefile.am     geometry        miscellaneous   pkg             specfun      
  time
Makefile.in     gethelp.cc      mk-pkg-add      plot           
special-matrix
audio           help            mkdoc           polynomial      startup


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30721>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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