Re: [Fink-users] ghostscript vs. ghostscript-esp

2007-01-27 Thread William Scott

sorry.  forget it.

I forced it with

  sudo apt-get --force-yes remove ghostscript-esp


On Jan 27, 2007, at 9:41 PM, William Scott wrote:

> Hi Citizens:
>
> Somehow I managed to get ghostscript-eps installed instead of  
> ghostscript, and its ability to catenate pdf files appears to be  
> broken, so I would like to replace it with ghostscript.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] ghostscript vs. ghostscript-esp

2007-01-27 Thread William Scott
Hi Citizens:

Somehow I managed to get ghostscript-eps installed instead of  
ghostscript, and its ability to catenate pdf files appears to be  
broken, so I would like to replace it with ghostscript.

I'm using this function to catenate some pdb files:

joinpdf () {
 gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite - 
sOutputFile=merged.pdf"$@"
}



When I do this on my intel G5 imac, which has ghostscript-esp, two  
pages that have images imbedded that I created from Apple's Pages  
program by printing to pdf come out blank.  The input pdf files are  
fine.  There are no warning or error messages.

Using identical input, the same works on my G5 ppc,which has  
ghostscript-8.54-3, although I get some warnings:

joinpdf   Science_supplementary.pdf figs_1s_2s.pdf Figure3S.pdf
 Warning:  File has an invalid xref entry:  17.  Rebuilding  
xref table.

 This file had errors that were repaired or ignored.
 The file was produced by:
  Mac OS X 10.4.8 Quartz PDFContext 
 Please notify the author of the software that produced this
 file that it does not conform to Adobe's published PDF
 specification.

The actual output however is fine, and the figures are present.



When I try to install ghostscript on my intel iMac, this happens:

While trying to install:
   ghostscript-8.54-3

The following inconsistencies found:
   ghostscript-esp conflicts with ghostscript, but ghostscript is  
installed

Trying to resolve dependencies...
Could not resolve inconsistent dependencies!

Fink isn't sure how to install the above packages safely. You may be  
able to fix things by running:

   fink scanpackages
   apt-get update
   apt-get install ghostscript=8.54-3

(the latter doesn't help).

I'm now completely stuck.

Any suggestions?


Thanks.

Bill


PS:  Another weird thing is ghostscript-8.54-3 isn't even showing up  
on my intel iMac (unstable activated, updated an hour ago) with fink  
list:

fink list ghostscript
Information about 5932 packages read in 1 seconds.
  fc-ghostscript-fonts 20050601-1 Add ghostscript  
fonts to fontconfig search
p   ghostscript [virtual package]
i   ghostscript-esp  7.07.1-27  Enhanced GNU  
Ghostscript with better CJK and printer support
i   ghostscript-fonts8.11-3 Standard fonts for  
Ghostscript
  ghostscript-nox  7.04-3 Interpreter for  
PostScript and PDF


On my ppc:

fink list ghostscript
Information about 6782 packages read in 2 seconds.
  fc-ghostscript-fonts 20050601-1 Add ghostscript  
fonts to fontconfig search
i   ghostscript  8.54-3 Interpreter for  
PostScript and PDF
  ghostscript-esp  7.07.1-27  Enhanced GNU  
Ghostscript with better CJK and printer support
i   ghostscript-fonts8.11-3 Standard fonts for  
Ghostscript



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] CERNLIB 2005 available on MacIntel from Fink

2007-01-27 Thread Remi Mommsen
Hi,

Many of you inquired about the possibility to get CERNLIB (including  
PAW) for MacIntel. Given that the CERNLIB makes extensive use of g77  
features, CERNLIB did not compile properly for a long time using the  
Fortran compilers available on MacIntel.

Thanks to the hard work of Jack Howarth and Jean-François Mertens,  
this changed during the last weeks. The gfortran compiler from recent  
GCC 4.2 snapshots does compile the CERNLIB correctly, i.e. all tests  
of the CERNLIB test suite succeed. Since today, gcc42 and cernlib2005  
are available (*) through fink (http://fink.sourceforge.net/). The  
patches required to make CERNLIB work on Mac (both on intel and ppc)  
are to a large extend based on work of Keisuke Fujii and Harald Vogt.

Note that the CERNLIB package name changed from cernlib2005 to  
cernlib2005-g77 and cernlib2005-gfortran. The former is only  
available for ppc.

I'm looking forward to get feedback from you.

Enjoy,
Remi



(*) You have to enable the unstable branch (http:// 
www.finkproject.org/faq/usage-fink.php#unstable) to get access to them.


--
Truth decays into beauty, while beauty soon becomes merely charm.
Charm ends up as strangeness, and even that doesn't last, but up and
down are forever. (Anonymous)

*
Remigius K. Mommsen e-mail:  [EMAIL PROTECTED]
University of Manchester   URL:http://cern.ch/mommsen
Fermilab, MS 357 voice:++1 (630) 840-8321
P.O. Box 500   fax:++1 (630) 840-2649
Batavia, Il 60510, US home:++1 (630) 236-0932
*




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Expanding the path to /sw/bin?

2007-01-27 Thread Nathan Acks

On Jan 27, 2007, at 7:37 AM, Doug Ransom wrote:
Whether I am running emacs (Carbon emacs, not the one you run in a  
shell) and starting python modet, the system is running a cron job,  
or I start a shell whcih is not a login shell, how can I set up the  
system path to include /sw/bin so I always run the python in /sw/ 
bin rather than the one the system comes with?


Getting things like cron that are called a system level to look in / 
sw/bin for applications can be a little tricky. But at least for GUI  
apps (carbon/cocoa/etc.) there's a neat trick --- the  
environment.plist file:


http://developer.apple.com/qa/qa2001/qa1067.html

Two things to note here: 1) The Login window can sometimes be a  
little weird about reading this file, so you may need to reboot after  
writing it rather than just logging out and the logging back in. 2)  
Not *every* application respects the variables set this way. Which  
ones do is a bit of a crap-shoot (I've never found a pattern), but  
most should work okay.


Really, though, the only solution I've found that works 100% of the  
time is to call things in /sw/bin using their full path.


~Nathan

--
For I dipt into the future, far as human eye could see,
Saw the Vision of the world, and all the wonder that would be...

  --- Alfred Lord Tennyson (Locksley Hall, 1842)




PGP.sig
Description: This is a digitally signed message part
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Expanding the path to /sw/bin?

2007-01-27 Thread Kevin Horton
On 27 Jan 2007, at 09:37, Doug Ransom wrote:

> When a shell starts from something like crontab, or when a mac app  
> starts (like emacs), or for an app like apache which may invoke a  
> python cgi script, how can I set the path to include /sw/bin?
>
> Whether I am running emacs (Carbon emacs, not the one you run in a  
> shell) and starting python modet, the system is running a cron job,  
> or I start a shell whcih is not a login shell, how can I set up the  
> system path to include /sw/bin so I always run the python in /sw/ 
> bin rather than the one the system comes with?
>

I just fought this battle with cron, and I won the war by putting  
"source /sw/bin/init.sh; " before the commands I wanted to run in the  
crontab.  Without the quotes of course.

Kevin Horton
Ottawa, Canada



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] Expanding the path to /sw/bin?

2007-01-27 Thread Doug Ransom

When a shell starts from something like crontab, or when a mac app starts
(like emacs), or for an app like apache which may invoke a python cgi
script, how can I set the path to include /sw/bin?

Whether I am running emacs (Carbon emacs, not the one you run in a shell)
and starting python modet, the system is running a cron job, or I start a
shell whcih is not a login shell, how can I set up the system path to
include /sw/bin so I always run the python in /sw/bin rather than the one
the system comes with?

Doug
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users