On Fri, 1 Oct 2010 22:13:47 -0700, Sean Lake  wrote:
Hello all,
  >
  > I'm attempting to compile autoslit on Mac OS X 10.6.4 against 
fink's pgplot 5.2-1032. 
  >
  > The version of autoslit I'm using is the latest available here:
  > http://www.astro.caltech.edu/~pls/autoslit/
  > based on instructions from here:
  > http://www2.keck.hawaii.edu/inst/lris/autoslit.html . 
  >
  > I have to edit the makefile so that it has the following lines:
  > LIBPGPLOT = -L/sw/lib -L/sw/lib/pgplot -lpgplot -L/usr/X11R6/lib -lX11
  > # FC = g77
  > FC = gfortran # Needed with gcc 4
>
> Everything else is stock. 
>
> Based on the errors I'm seeing, it appears that I might be missing 
> some -L or -l arguments. The errors follow at the end of the email. 
>

According to 'fink info pgplot', you're missing "-Wl,-framework 
-Wl,Foundation" and "-lpng" and "-laquaterm". 
 
Not sure that will solve all of the unresolved symbols, but it's a 
start (I recognize many of the missing ones as coming from those libs). 
If libpgplot were a sane library, it would be shared rather than 
static-only, and therefore not force "anyone that uses -lpgplot to know 
all the other internal-implementation libs it needs. If... 
 
dan

  --
Daniel Macks
  [email protected]

 


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to