LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-25-2004, 09:24 PM   #1
nodyl
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
error when using a system command to invoke convert


I have a perl script and am using a system command to convert a .ps file to a .png file. However when I do this I get the error:

convert: Postscript delegate failed [No such file or directory].

So I tried doing it from a C script and got the same error.

I don't know how to solve this problem. Please help.
 
Old 08-25-2004, 09:35 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
Try using fully qualified paths ...
 
Old 08-25-2004, 10:01 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Moved: More suitable in Programming
 
Old 08-25-2004, 10:57 PM   #4
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
Can you show us your function call attempt?
 
Old 08-25-2004, 11:00 PM   #5
nodyl
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Original Poster
Rep: Reputation: 0
no problem:

system "convert /tmp/pmt_plot.ps /tmp/pmt_plot.png";
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
command line utility to convert between formats like .doc, .sxw, .rtf and others? bigtpumped Linux - Software 1 09-12-2005 10:54 PM
Convert root file system from ext2 to ext3 lothario Mandriva 4 11-20-2004 06:21 PM
script to convert system to Debian cloids Debian 2 01-15-2004 02:40 PM
how to invoke a linux command inside a java code ? kusum Linux - Software 2 11-23-2003 02:19 PM
mp3 batch convert, remote from command line zerodot Linux - Networking 1 02-12-2003 06:08 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration