CVS compilation
Hello 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:anonym...@gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot login cvs -z3 -d:pserver:anonym...@gnuplot.cvs.sourceforge.net:/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:anonym...@gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot login cvs -z3 -d:pserver:anonym...@gnuplot.cvs.sourceforge.net:/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@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
GNAT-GCC
Hi everybody, Little questioni regarding GNAT-GCC : If I install this port, what will be the default compiler for MacPorts ? and for the rest of the system ? (XCode for instance). And what if I install or re-install XCode ? Is it safe enough to use this gcc instead of the one provided by Apple ? Thanks for your responses. Vincent OSX 10.6.1 Intel 32 bits . ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
gnat-gcc Ada GNAT on 10.6 Snow Leopard
Is there a GNAT (Ada) compiler that is known to work with Snow Leopard, OS X 10.6? If so, what version(s) of Xcode works with it? I'm on the macada.org list and will gladly report any discussion there back to that list. I recall that someone, not too long ago, managed to bootstrap GNAT into Macports. I'm just wondering if that effort has succeeded with Snow Leopard. Jerry ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
py26-numpy with veclib
Hi, Is it possible to build py26-numpy against veclib with macports? I had assumed that specifying +no_atlas variant would fall back to using veclib (from reading tickets it looks like thats what it did before) but instead it seems to use no accelerated library. This is the result of numpy.show_config() when built with +no_atlas: Python 2.6.3 (r263:75183, Oct 21 2009, 13:12:29) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type help, copyright, credits or license for more information. import numpy numpy.show_config() blas_info: libraries = ['blas'] library_dirs = ['/usr/lib'] language = f77 lapack_info: libraries = ['lapack'] library_dirs = ['/usr/lib'] language = f77 atlas_threads_info: NOT AVAILABLE blas_opt_info: libraries = ['blas'] library_dirs = ['/usr/lib'] language = f77 define_macros = [('NO_ATLAS_INFO', 1)] atlas_blas_threads_info: NOT AVAILABLE lapack_opt_info: libraries = ['lapack', 'blas'] library_dirs = ['/usr/lib'] language = f77 define_macros = [('NO_ATLAS_INFO', 1)] atlas_info: NOT AVAILABLE lapack_mkl_info: NOT AVAILABLE blas_mkl_info: NOT AVAILABLE atlas_blas_info: NOT AVAILABLE mkl_info: NOT AVAILABLE If linked against veclib the output should look like this: numpy.show_config() lapack_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-msse3'] define_macros = [('NO_ATLAS_INFO', 3)] blas_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/vecLib.framework/Headers'] define_macros = [('NO_ATLAS_INFO', 3)] Cheers Robin ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: CVS compilation
On 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:anonym...@gnuplot.cvs.sourceforge.net:/cvsroot/ gnuplot login cvs -z3 -d:pserver:anonym...@gnuplot.cvs.sourceforge.net:/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@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: py26-numpy with veclib
Hi, Is it possible to build py26-numpy against veclib with macports? If linked against veclib the output should look like this: numpy.show_config() lapack_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-msse3'] define_macros = [('NO_ATLAS_INFO', 3)] blas_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/vecLib.framework/Headers'] define_macros = [('NO_ATLAS_INFO', 3)] My config shows this: Python 2.6.3 (r263:75183, Oct 13 2009, 08:46:50) [GCC 4.2.1 (Based on Apple Inc. build 5646) (LLVM build 2118)] on darwin Type help, copyright, credits or license for more information. import numpy numpy.show_config () lapack_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-faltivec'] define_macros = [('NO_ATLAS_INFO', 3)] blas_opt_info: extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/ vecLib.framework/Headers'] define_macros = [('NO_ATLAS_INFO', 3)] Note that I am on x86_64, so that looks a bit strange. Vincent ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: GNAT-GCC
On Oct 21, 2009, at 04:51, Vincent DIEMUNSCH wrote: Little questioni regarding GNAT-GCC : If I install this port, what will be the default compiler for MacPorts ? and for the rest of the system ? (XCode for instance). And what if I install or re- install XCode ? Nothing will change on those counts by installing gnat-gcc or any other port. Ports will use Apple's gcc 4.0 on Tiger and Leopard and Apple's gcc 4.2 on Snow Leopard -- unless the port requests otherwise. Is it safe enough to use this gcc instead of the one provided by Apple ? I haven't used it. Presumably you would use gnat-gcc if you need the special features it offers, and otherwise you would use Apple's gcc or one of the standard gcc4* ports. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
xcb fails to install on SnowLeopard MacPort 1.8.1
I was truing to install glade3, which depends on xcb and get this: [Zig:~] felix% sudo port -v install glade3 --- Computing dependencies for glade3... --- Staging xcb into destroot . missing (directory not created: File exists) ./Applications missing (directory not created: File exists) ./Developer missing (directory not created: File exists) ./Library missing (directory not created: File exists) install -c xcb /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xcb /work/destroot/opt/local/bin/xcb + mkdir -p /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xcb /work/destroot/opt/local/lib/X11/app-defaults install -c -m 0444 Xcb.ad /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xcb /work/destroot/opt/local/share/X11/app-defaults/Xcb install in . done install -c -m 0444 xcb._man /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xcb /work/destroot/opt/local/share/man/man1/xcb.1 install.man in . done Error: Target org.macports.destroot returned: no such file or directory Warning: the following items did not execute (for xcb): org.macports.activate org.macports.destroot org.macports.install Error: The following dependencies failed to build: devhelp libwnck startup-notification xcb xorg-libxcb xorg-libpthread-stubs xorg-xcb- proto xorg-xcb-util xorg-libXres xorg-resourceproto python25 webkit- gtk enchant aspell hunspell gst-plugins-base gnome-vfs desktop-file- utils gnome-mime-data gstreamer gzip libogg liboil libtheora libvorbis icu libsoup gnutls libgcrypt libgpg-error libtasn1 lzo opencdk libproxy hicolor-icon-theme libgnomeui gnome-icon-theme icon-naming- utils p5-xml-simple p5-xml-namespacesupport p5-xml-sax gnome-keyring libbonoboui libbonobo libglade2 libgnome esound audiofile libgnomecanvas libart_lgpl py26-gtk py26-cairo py26-numpy atlas gcc43 gmp mpfr fftw-3 py26-nose py26-setuptools py26-gobject libffi Error: Status 1 encountered during processing. [Zig:~] felix% sudo port -v install xcb --- Computing dependencies for xcb. --- Staging xcb into destroot . missing (directory not created: File exists) ./Applications missing (directory not created: File exists) ./Developer missing (directory not created: File exists) ./Library missing (directory not created: File exists) install -c xcb /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xcb /work/destroot/opt/local/bin/xcb + mkdir -p /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xcb /work/destroot/opt/local/lib/X11/app-defaults install -c -m 0444 Xcb.ad /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xcb /work/destroot/opt/local/share/X11/app-defaults/Xcb install in . done install -c -m 0444 xcb._man /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xcb /work/destroot/opt/local/share/man/man1/xcb.1 install.man in . done Error: Target org.macports.destroot returned: no such file or directory Warning: the following items did not execute (for xcb): org.macports.activate org.macports.destroot org.macports.install Error: Status 1 encountered during processing. -- Felix You have one hour, forty six minutes and forty three seconds of peace of mind left: http://tinyurl.com/6fz2pw ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users