help-octave
[Top][All Lists]
Advanced

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

Re: Building Octave Statically (and without graphics)


From: Tatsuro MATSUOKA
Subject: Re: Building Octave Statically (and without graphics)
Date: Sun, 1 Nov 2009 05:48:57 +0900 (JST)

Hello

You should add

--disable-shared

for configure options.

Otherwise octave will make shared libraries because building with shared 
libraries is default option
for the octave.

Regards

Tatsuro
--- Raymond at SDSU  wrote:

> 
> Thanks (both) for the help.  The potential of a limited features version of
> Octave for use on computing clusters seems meritorious.  The Octave
> configure without all of the packages:
> 
> ./configure --prefix=/home/raymond --without-framework-carbon --without-zlib
> --
> without-hdf5 --without-fftw --without-glpk --without-curl
> --without-framework-op
> engl --without-qrupdate --without-amd     --without-umfpack --without-colamd 
> --
> without-ccolamd     --without-cholmod    --without-cxsparse 
> --without-arpack   
> 
> allows the "make" to proceed further, but the make still fails at a linking
> step:
> 
> g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H
> -mieee-fp -Wall -W -Wshadow -Wold-style-cast -Wformat -g -O2 -rdynamic -L.. 
> -fPIC  -o octave main.o  -L../liboctave -L../libcruft -L../src -Wl,-rpath
> -Wl,/home/raymond/lib/octave-3.2.3 -loctinterp -loctave  -lcruft  
> -lreadline  -lncurses -ldl -lm  -L/usr/lib/gcc/i386-redhat-linux/4.1.2
> -L/usr/lib/gcc/i386-redhat-linux/4.1.2/../../.. -lgfortranbegin -lgfortran
> -lm
> 
> ../liboctave/liboctave.so: undefined reference to
> `pthread_mutexattr_destroy'
> ../src/liboctinterp.so: undefined reference to `XOpenDisplay'
> ../liboctave/liboctave.so: undefined reference to `pthread_mutexattr_init'
> ../liboctave/liboctave.so: undefined reference to
> `pthread_mutexattr_settype'
> ../src/liboctinterp.so: undefined reference to `XScreenNumberOfScreen'
> collect2: ld returned 1 exit status
> 
> 
> 
> 
> John W. Eaton-3 wrote:
> > 
> > On 21-Oct-2009, Raymond at SDSU wrote:
> > 
> > | My application is also a cluster, without graphics support on the nodes. 
> > I'm
> > | trying to build Octave from source on a cluster that I don't have root
> > | access to and even the X11 include files aren't there.  Is there an easy
> > way
> > | to configure for a minimal build?  
> > 
> > What have you tried?  If you configure with all the --without-PKG
> > options, then Octave should avoid using those packages.
> > 
> > If that doesn't work, then report the problem as a bug.  But since I
> > normally want to build full-featured versions of Octave, I'm not sure
> > that I would consider this a high priority problem, so patches to fix
> > any problems like this would be appreciated.
> > 
> > jwe
> > _______________________________________________
> > Help-octave mailing list
> > address@hidden
> > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> > 
> > 
> 
> -- 
> View this message in context:
> http://old.nabble.com/Building-Octave-Statically-%28and-without-graphics%29-tp22206716p26139248.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> 
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 


--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/


reply via email to

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