LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-18-2005, 08:46 PM   #1
kurrupt
Member
 
Registered: Jul 2004
Distribution: Debian, Ubuntu, FreeBSD, RHEL
Posts: 202

Rep: Reputation: 31
burning *.dmg files


Hey guys whats up, i got this *.dmg file that i need to burn but iam wondering how to burn it.. i have been doing searches on the forum and i found a topic talking about a dmg2iso program but it doesnt seem to work? its written in perl. and on the site it says.. just type in dmg2iso.pl name.dmg name.iso and it would convert but i get this error:

./dmg2iso.pl file.dmg file1.iso
: bad interpreter: No such file or directory

i got the program from this site: http://vu1tur.eu.org/tools/

does anyone know what this error might mean? and yes i do have perl installed and yes i set the permissions to execute it.


If anyone has any other ideas on how to burn a *.dmg please help me out thanks!!!
 
Old 05-18-2005, 10:13 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Look at the first line in dmg2iso.pl. It should say something like:

#!/usr/bin/perl

Make sure that the location of the perl interpreter matches. For example, if the command:

which perl

Reports:

/usr/local/bin/perl

then update the dmg2iso.pl script to point to the install location on your machine. For the example above:

#!/usr/local/bin/perl
 
Old 05-18-2005, 10:24 PM   #3
kurrupt
Member
 
Registered: Jul 2004
Distribution: Debian, Ubuntu, FreeBSD, RHEL
Posts: 202

Original Poster
Rep: Reputation: 31
ya i did set it to the correct location.. on my pc its /usr/bin/perl...
and i still get that error
 
Old 05-19-2005, 11:31 AM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
OK, I downloaded the script. Two things...

First, the script requires as a pre-requisite the perl-Compress-Zlib package be installed (apt, yum, whatever your favorite tool is).

Second, in order to run it, execute it as:

perl dmg2iso.pl input.dmg output.iso

if the script is in your search path, then:

perl -S dmg2iso.pl input.dmg output.iso

Or, you can add a '-w' switch to the first line:

#!/usr/bin/perl -w

Adding the '-w' switch will let you run it as a normal command, e.g.,:

./dmg2iso.pl input.dmg output.iso

Last edited by macemoneta; 05-19-2005 at 11:33 AM.
 
Old 05-25-2005, 12:24 AM   #5
wari
LQ Newbie
 
Registered: May 2005
Location: Chile
Distribution: Gentoo
Posts: 1

Rep: Reputation: 0
ehmmm

you couls also check that the partition where the script is installed has execution permissions
 
  


Reply



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
Burning a .dmg file Perl Script giving zlib error zwyrbla Linux - General 1 08-19-2005 04:02 PM
How to install UnRarX20.dmg Gins Linux - General 1 05-02-2005 04:37 PM
Burning .DMG kizuna Slackware 3 04-30-2005 06:17 AM
what tha hell .dmg files?!? Y3k Linux - Newbie 1 06-04-2004 07:36 AM
can linux do anything with .dmg files? Mugatu Linux - Software 3 06-01-2004 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:02 PM.

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
Open Source Consulting | Domain Registration