MacUpdate
Join MacUpdate
New Member

New Developer
Explore
MacUpdate Desktop
Hot Apps

Business
Dashboard
Development
Drivers
Education
MacUpdate Promo
Popular Apps

Games
Home & Personal
Internet
Multimedia & Design
Utilities
iPhone
Apps

Login
Member Login

Developer Login
About
Search Mac Apps

Search iPhone Apps

Advanced Search
Thierry46
Downloads: 1
Posts: 1
Smile Score: +2
About Me
I am a Free member
Gender: Male


Visit Stats
Last Visit: 281 days ago
Member Since: 10 Nov 2010
Profile Views: 216

Website
http://thierry.maillard.pagesperso-orange.fr
Wings 3D 1.4
(Free)
Thierry46's Posts
Average Rating from Thierry46:

sort: smiles | time
burypromote
+2

gnuplot
Thierry46 tipped on 10 Nov 2010
Hello
Here is an additional comment to JIMCLARK01's tips to compile gnuplot 4.4.2 under Snow Leopard (Mac OS X.6) with PNG, JPEG output available :

X11 should be installed on your computer (From Mac OSX install DVD).

gnuplot needs libgd library to support graphics output formats like PNG.
You have to install libgd first and to link gnuplot with it.

1 - Download libraries JPEG (jpegsrc.v6b.tar.gz), FreeType 2.4.3, and GD 2.0.35 (Find them on the Web, copy the .tar.gz file in a directory , uncompact them with the Finder)

Then in a terminal window :

2 - Install lib jpeg-6b :
cd jpeg-6b
cp /usr/share/libtool/config/config.sub .
cp /usr/share/libtool/config/config.guess .
./configure --enable-static --x-include=/usr/include/X11 --x-libraries=/usr/X11/lib
make
sudo make install
sudo ranlib /usr/local/lib/libjpeg.a

Library will be put be in /usr/local : /usr/local/lib/libjpeg.a
Remarks :
--enable-shared don't work
make install produce an error with doc, ignore it.

3 - Install freetype-2.4.3
cd freetype-2.4.3
./configure
make
sudo make install

4 - Install libgd
cd gd-2.0.35
sudo ln -s /usr/X11R6/include/fontconfig /usr/local/include
sudo cp -r /usr/X11/include/*png* /usr/local/include
./configure --with-x --x-include=/usr/include/X11 --x-libraries=/usr/X11/lib --with-png=/usr/X11
make
sudo make install

5 - rebuild gnuplot
./configure --with-readline=bsd --x-include=/usr/include/X11 --x-libraries=/usr/X11/lib
Verify here that png terminals are detected in configure's output
make
sudo make install

6 - To make libgd support fonts
export GDFONTPATH=$HOME/Library/Fonts:/Library/Fonts:/System/Library/Fonts
before you launch gnuplot or put GDFONTPATH initialization in your ~/.bash_profile
[Version 4.4.2]



There are currently no troubleshooting comments by this member.

Displaying 1-1 of 1
Please login or create a new
MacUpdate Member account
to use this feature
Add/Update Listing About MacUpdate Desktop Career Opportunities RSS Twitter Facebook Advertise Sitemap
Copyright © 2012 MacUpdate LLC


- -