From help-octave-request at bevo dot che dot wisc dot edu Wed Jul 24 07:08:42 2002 Subject: Re: octave-forge OS X From: Per Persson To: David F Lowenfels , Paul Kienzle Cc: help-octave at bevo dot che dot wisc dot edu Date: Wed, 24 Jul 2002 14:07:39 +0200 David, you could add the search path to mkoctfile: From my mkoctfile: : ${CPPFLAGS="-no-cpp-precomp -I/sw/include -I/usr/X11R6/include"} : ${INCFLAGS="-I/sw/include/octave-2.1.35 -I/sw/include/octave-2.1.35/octave -I/sw/include"} (if you have X11 installed somewhere other than /usr/X11R6, you'll have to specify the corresponding path.) I'm not sure this is the proper place to fix it though, since plot/Makefile as well as Makeconf apparently has the correct path: X_CFLAGS = -I/usr/X11R6/include For some reason it isn't used. It seem this only partially solves the problem though, grab() and ginput() work but gzoom() and gtext() fails: octave:33> gzoom() gzoom: could not capture button events. octave:34> gtext("hhh") gtext: could not capture button events. ans = 0 Haven't looked into this since I normally don't use XWindows. /Per On fredag, juli 12, 2002, at 07:31 , David F Lowenfels wrote: > Hello: > I am trying without success to get octave-forge running on OS X. > I upgraded to the bleeding-edge octave xxx-35-8, and now at least > I can get through the ./configure. Before it hung on testing mkoctfile. > I get linking errors when running the main makefile. Since I really > just want gzoom functionality, I tried to do this part manually, > and I get this path type error. > > bash: dfl ~/octave-forge-2002.05.09/main/plot % make gzoom > mkoctfile -DF77_FUNC=F77_FCN -DHAVE_OCTAVE_21 -s -v -c gzoom.cc > c++ -c -no-cpp-precomp -I/sw/include -fPIC -I/sw/include/octave-2.1.35 > -I/sw/include/octave-2.1.35/octave -I/sw/include > -fno-coalesce-templates > -fno-implicit-templates -g -O2 -Wall -DF77_FUNC=F77_FCN > -DHAVE_OCTAVE_21 > gzoom.cc -o gzoom.o > In file included from gzoom.cc:22: > graphics.h:19: X11/Xlib.h: No such file or directory > make: *** [gzoom.o] Error 1 > > I'm not that knowledgable about linux development, so I'm not sure how > these > path environments are set up. Any tips you could give would be very > appreciated. > > Thanks, > David > > _/^\_/^\_/^\_/^\_/^\ Science is but a perversion of itself unless > David Lowenfels it has as its ultimate goal the betterment > Vibrational Engineer of humanity. -- Nikola Tesla > ^\_/^\_/^\_/^\_/^\_/^ http://www.mit.edu/~dfl/ > > > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ------------------------------------------------------------- > ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------