Hi Valery,

it's generally not the best idea IMHO to mix macports and your own  
source builds. Sadly, macports as well as fink are not even close to  
the standard you reach with apt-get, rpm, ... Plplot compiles nicely  
with qt and python if you keep macports out of the game. You need to  
install qt from the nokia site (if you have 10.6 you should probably  
download the cocoa version) and python is on the system already. Then  
edit your .profile file in your home directory and remove the  
inclusion of the /opt/local/... stuff, since this is macport. Then  
cmake shouldn't find anything of macports somewhere (also don't use / 
opt/local in the cmake command line) and it should compile.

As long as you only need some libraries it's best to compile them  
yourself. If you e.g. need gtk for OSX macports might be a good  
choice. Luckily you can get macports out of the way quite easily,  
since everything is in /opt/local

HTH,
Werner


On Nov 18, 2009, at 8:09 AM, Valery Pipin wrote:

> Hi!
> May I join your discussion. I'm very new in MAC OSX. My system is  
> 10.6.2  on macbook pro 5.5.
> I still don't very well understand the logic of macports.  
> Plplot-5.9.4 is marked there as the recent version.
> When I tried to install it via port, plplot the installation stopped  
> with the problem due to wxwidgets and agg which are enabled by  
> default. Searching in the web showed that wxwidgets seems not  
> possible to install on my system so far. So I tried
> to install my self. I install cmake from the macprots also python  
> and others scientific tools ingcluding g95. I downloaded the plplot  
> sources and put it to the home dir /home/vv/BUILD, then create  
> additional dir "/home/vv/BUILD/alt" for building plplot and create  
> the following script (cut the spec from my linux rpm)
> /bin/sh
> cd ../alt
> cmake ../plplot-5.9.5\
>         -DCMAKE_INSTALL_PREFIX:PATH=/opt/local \
>         -DPLD_wxwidgets:BOOL=OFF\
>         -DPL_FREETYPE_FONT_PATH:PATH=/opt/local/share/fonts/ttf/ 
> freefont\
>         -DENABLE_java=OFF\
>         -DENABLE_octave=OFF -DENABLE_ada=OFF -DPLD_aqt:BOOL=OFF
>
> As you see I disable octave (it does not work for me, octave version  
> 3.2.3 with a bandle of additional packages)
> also aqt does not work. Wxwidgets and agg has a problem in macports.  
> My purpose was to get  pyqt interface but I could not. Seems  
> macports' qt4-mac put the headers in very unusual place. I succeed  
> in compilation and installation c/ck++/g95 works.
> Python seems should work but I could not figure out how because two  
> version of python are present in the system and plplot choose the  
> latest py26 site-packages. But demos inside share/plplot/python said  
> that there is no module plplot (while it is there)
>
> best regards
> Valery
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  
> http://p.sf.net/sfu/bobj-july_______________________________________________
> Plplot-general mailing list
> Plplot-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-general


--
Dr. Werner Smekal
Institut fuer Angewandte Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria
DVR-Nr: 0005886

email: sme...@iap.tuwien.ac.at
web:   http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
        +43-(0)1-58801-13469 (laboratory)
fax:   +43-(0)1-58801-13499


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to