On Apr 18, 2009, at 9:38 AM, Ingo Thies wrote:

> On Sat, 18 Apr 2009, Ben Abbott wrote:
>
>> I also prefer to run the CVS gnuplot, and am using Fink to build  
>> and install on Leopard (Intel).
>
> Hmm, where exactly did you install it? Im am installing it using the  
> step-by-step instructions on the Gnuplot homepage but with a local  
> installation path to prevent any mix-up with system files.
>
> I am adding the option --with-GD=DIR where DIR is /sw/lib, what  
> should be the folder containing the asked lib files. However, with  
> no effect. What is going wrong here?
>
> From your script I cannot disambiguously find whether you installed  
> it into the default system folders, the Fink folders or somewhere  
> locally. Before I try to copy it I would like to know in more detail  
> what is going to happen.
>
> Best wishes,
>
> Ingo

Fink builds and installs gnuplot in the usual way. The easiest think  
to do is to create the new gnuplot-dev.info and gnuplot-dev.patch  
files and then just "fink update gnuplot".

The *new* info and patch files should be placed in the local branch ...

        /sw/fink/10.4/local/main/finkinfo/sci

To create them, just copy the current patch file (rename it) and copy  
and modify the current info file. There are in ...

        /sw/fink/10.4/unstable/main/finkinfo/sci

However, to find answers to your questions take a look at the  
gnuplot.patch and gnuplot.info.

The part of the info file that does what you're looking for is the  
CompileScript.

CompileScript: <<
  #!/bin/sh -ev
  export CCACHE_DISABLE=1
  export CPATH=%p/include
  export PKG_CONFIG_PATH=%p/lib/fontconfig2/lib/pkgconfig:%p/lib/ 
freetype219/lib/pkgconfig:$PKG_CONFIG_PATH
  if [ "%type_raw[-ui]" == "." ]
        then export PKG_CONFIG_PATH=%p/lib/pango-ft219/lib/pkgconfig: 
$PKG_CONFIG_PATH
  fi
  export FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config
  autoheader ; autoconf ; ./configure %c
  make
<<

I don't see any GD specific info, and am not knowledgeable with how it  
works to tell you how Fink provides this info when building gnuplot.

Ben


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to