|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
CVS compilationHello everybody,
I have to apologize for a probabely quite stupid question: I'd like to use gnuplot 4.3 on my Mac 10.4.11 - which is not yet available as a port. One can obtain it via CVS - but on my machine the compilation results in several errors I cannot resolve. So I wonder whether it would be the easier way to do it using macports. The CVS commands to obtain gnuplots are: cvs -d:pserver:anonymous@...:/cvsroot/gnuplot login cvs -z3 -d:pserver:anonymous@...:/cvsroot/ gnuplot co -P gnuplot Can anybody give me a hint whether it is possible to compile from that source using the macports basis - and how to do it? Thanks and greetings, Wolf P.S.: There is a script to install th gnuplot CVS version. It gave me the errors I wrote above, but maybe anybody can read something from it: #! /bin/sh # cd /Users/"$(whoami)"/Desktop/ echo "Gnuplot svn compilation: aquaterm support only, to have x11 simply delete -with-x=no option" echo "You need automake newer 1.8 (fink helps)!!" echo "To have gnu readline support, install readline5-shlibs from fink and check if there is the sym link in /usr/lib : libreadline.dylib -> /sw/lib/libreadline.5.0.dylib" echo "Press ENTER when asked for cvs pwd" echo cvs -d:pserver:anonymous@...:/cvsroot/gnuplot login cvs -z3 -d:pserver:anonymous@...:/cvsroot/ gnuplot co -P gnuplot cd gnuplot/ sudo ./prepare ./configure -with-x=no --without-tutorial CFLAGS=-DDEFAULTTERM=\\ \"aqua\\\" --with-readline=gnu make cd src/ sudo cp gnuplot /Users/"$(whoami)"/Desktop/gnuplot_svn cd /Users/"$(whoami)"/Desktop/ version=`gnuplot_svn --version | awk '{print $2}'` date=`date | awk '{print $3 $2 $6}'` mv gnuplot_svn gnuplot-"$version"_svn"$date" echo "Removing compilation folder and moving binary file to Desktop..." sudo rm -r gnuplot/ _______________________________________________ macports-users mailing list macports-users@... http://lists.macosforge.org/mailman/listinfo.cgi/macports-users |
|
|
Re: CVS compilationOn Oct 21, 2009, at 03:44, Wolf Drechsel wrote: > I'd like to use gnuplot 4.3 on my Mac 10.4.11 - which is not yet > available as a port 4.2.x appears to be the latest stable version, according to the web site, therefore that's what MacPorts provides. > One can obtain it via CVS - but on my machine the compilation > results in several errors I cannot resolve. What errors do you get? > So I wonder whether it would be the easier way to do it using > macports. MacPorts is for taking software that can already be compiled on Mac OS X and making it easier to install. Unless the errors you're getting relate to being unable to find dependencies provided by MacPorts, I doubt it will be any more possible to build it in MacPorts than it was by hand. > The CVS commands to obtain gnuplots are: > > cvs -d:pserver:anonymous@...:/cvsroot/ > gnuplot login > cvs -z3 -d:pserver:anonymous@...:/cvsroot/ > gnuplot co -P gnuplot > > Can anybody give me a hint whether it is possible to compile from > that source using the macports basis - and how to do it? The Guide explains how to write portfiles: http://guide.macports.org/ So if you really must have 4.3 now and cannot wait for it to be released, and want to see if you can get it working in MacPorts, you can create a local port repository and make a copy of the existing gnuplot 4.2.x portfile and try updating it. _______________________________________________ macports-users mailing list macports-users@... http://lists.macosforge.org/mailman/listinfo.cgi/macports-users |
|
|
gnuplot CVS compilationAm 21.10.2009 um 23:48 Ryan Schmidt wrote:
please excuse a greater delay in replying. I hoped time would resolve things for me… - but it didnt. So I tried compiling gnuplot 4.3 from the CVS again. The gnuplot website provides a script which is supposed to do the job: I tried this script on a Tiger 10.4.11 PPC with macports 1.8.1 installed, and get the following output messages: There comes the line "You need automake newer 1.8 (fink helps)!!" AFAIK macports does only provide automake 1.1 and 1.7 - do I have to bother? Allthough the issue a bit off-topic - anybody who's willing to have a brief look on the file and tell me what's going wrong will be very wellcome. Greetings, Wolf _______________________________________________ macports-users mailing list macports-users@... http://lists.macosforge.org/mailman/listinfo.cgi/macports-users |
|
|
Re: gnuplot CVS compilationOn 2009-11-2 22:08, Wolf Drechsel wrote:
> So I tried compiling gnuplot 4.3 from the CVS again. The gnuplot website > provides a script which is supposed to do the job: > > http://www.gnuplot.info/development/sample_osx_installation.html The script looks reasonable enough, so the problems are probably coming from gnuplot's build system. > I tried this script on a Tiger 10.4.11 PPC with macports 1.8.1 > installed, and get the following output messages: > > http://verkehrsplanung.com/TerminalAusgabeGnuplot.txt The proximate cause of the failure appears to be: ld: Undefined symbols: typeinfo for wxMemoryDC typeinfo for wxDataObject typeinfo for wxTopLevelWindowMac typeinfo for wxApp typeinfo for wxFrame typeinfo for wxPanel typeinfo for wxDialog typeinfo for wxObject typeinfo for wxThread typeinfo for wxControl However, the preceding warnings about many symbols being taken from /usr/lib/libwx_macud-2.5.dylib instead of libraries in /opt/local/lib are highly suspect. Quite possibly what is being warned about beforehand: "warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used" > There comes the line > /"You need automake newer 1.8 (fink helps)!!"/ > > AFAIK macports does only provide automake 1.1 and 1.7 - do I have to bother? The current automake port is 1.11. - Josh _______________________________________________ macports-users mailing list macports-users@... http://lists.macosforge.org/mailman/listinfo.cgi/macports-users |
| Free embeddable forum powered by Nabble | Forum Help |