LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-30-2007, 02:15 AM   #1
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 102

Rep: Reputation: 15
Anyone knows a program that converts dmg to iso


Does anyone knows a decent program that is capable of converting dmg files into standard mountable/burnable ISO's? I've looked all over the Internet for this type of program but all I found was dmg2iso for Linux and some handful of Windows program. I tried to download the dmg2iso program (Linux version ofc) and tried to compile it, however first of all theres no ./configure, but If I recall its normal, some programs dont need it however when I did make he gave me a stream of errors, something about undefined variables being used. So dmg2iso is completely unusable (not even compileable) there was a perl script for it aswell however it to had a problem with the programming or something like that... so thats why I seek a converter for it. So is there any alternatives for it or something and if not where can I find a working dmg2iso file to use, I already tried its homepage (its the problematic one) and tried sourceforge but it doesnt download for me at all for these last few days(probably server-fault)
 
Old 03-30-2007, 02:25 AM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
You just need to get dmg2iso to compile. How did you try and compile it?
 
Old 03-30-2007, 03:31 PM   #3
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 102

Original Poster
Rep: Reputation: 15
Like any other normal program, with root I did ./configure make and makeinstall however the ./configure didnt worked because the file doesnt exist (which is normal is some programs) and the make started to give me errors about undefined variables and thus resulting in failure... nothing really special
 
Old 03-30-2007, 03:38 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
Just a fyi, you should do ./configure and make as normal user. You only need to be root to do 'make install' or 'make uninstall'
 
Old 03-30-2007, 03:47 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
Do you have a link to the source. I can only find a page on sourceforge for an OSX file, and one for a perl script that refuses to load.
 
Old 03-31-2007, 03:50 AM   #6
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 102

Original Poster
Rep: Reputation: 15
well, I dont have the source anymore, but I do remeber the site which I got it from, vu1tur.eu.org/tools however, It doesnt seem to load for me right now so I cant really give you an exact download linux... But look for the download called "Source code", thats the one I used. theres a Perl script there too, but it didnt loaded for me either
 
Old 04-02-2007, 02:45 PM   #7
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 102

Original Poster
Rep: Reputation: 15
*bump* guys, Im still here... anyone knows where I can get a normal program for this conversion or atleast a working copy of this dmg2iso program?

EDIT:
The site in back online. here the errors I got while compiling

Code:
kronos@Malkav:~$ cd /home/kronos/Desktop/dmg2iso
kronos@Malkav:~/Desktop/dmg2iso$ ./configure
bash: ./configure: No such file or directory
kronos@Malkav:~/Desktop/dmg2iso$ make
rm -f *.o dmg2iso.exe
gcc -O3 -c dmg2iso.cc
dmg2iso.h:45: error: ‘__int32’ does not name a type
dmg2iso.cc: In function ‘int main(int, char**)’:
dmg2iso.cc:117: error: ‘__int32’ does not name a type
dmg2iso.cc:122: error: ‘__int32’ does not name a type
dmg2iso.cc:123: error: ‘__int32’ does not name a type
dmg2iso.cc:124: error: ‘block_type’ was not declared in this scope
dmg2iso.cc:126: error: ‘out_offs’ was not declared in this scope
dmg2iso.cc:127: error: ‘out_size’ was not declared in this scope
dmg2iso.cc:128: error: ‘in_offs’ was not declared in this scope
dmg2iso.cc:129: error: ‘in_size’ was not declared in this scope
dmg2iso.cc:130: error: ‘convert_endian’ was not declared in this scope
dmg2iso.cc:140: error: ‘last_offs’ was not declared in this scope
dmg2iso.cc:158: error: ‘last_in_offs’ was not declared in this scope
dmg2iso.cc:161: error: ‘last_offs’ was not declared in this scope
dmg2iso.cc:172: error: ‘last_offs’ was not declared in this scope
dmg2iso.cc:172: error: ‘last_in_offs’ was not declared in this scope
make: *** [dmg2iso.o] Error 1
and heres the perl prob

Code:
kronos@Malkav:~/Desktop$ ./dmg2iso.pl
bash: ./dmg2iso.pl: /usr/local/bin/perl^M: bad interpreter: No such file or directory
kronos@Malkav:~/Desktop$

Last edited by 2Pacalypse; 04-02-2007 at 02:53 PM.
 
Old 04-02-2007, 02:55 PM   #8
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Go to that page and download the perl script and use that. It depends on you having perl, which you probably do. To use it type dmg2iso.pl <filename.dmg> <filename.iso>

Let us know how that turns out.
 
Old 04-03-2007, 02:33 AM   #9
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 102

Original Poster
Rep: Reputation: 15
same result, nothing changed. I tried this:
Code:
kronos@Malkav:~/Desktop$ perl dmg2iso.pl /home/kronos/My\ Documents/Games/Uplink\ version/MAC_UPLINK/Uplink.dmg /home/kronos/Uplink.iso
dmg2iso v0.2a by vu1tur (vu1tur@gmx.de)

PropertyList is corrupted
reading property list...kronos@Malkav:~/Desktop$
but as you see theres still a problem
 
Old 04-03-2007, 08:12 AM   #10
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Well, it sounds like your download is corrupted.

One more thing you can try. I read where somebody else was having trouble with dmg2iso and they downloaded the Windows binary verion and ran it with wine. So it would be:
wine dmg2iso.exe filein.dmg fileout.iso

If that gives you the same message, I would say the dmg file is corrupted.
 
Old 06-29-2007, 06:23 PM   #11
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Rep: Reputation: 31
I just finished using the perl script to convert a dmg to iso and I can confirm that it indeed works.
 
Old 06-29-2007, 06:56 PM   #12
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Rep: Reputation: 31
I take that back.. The newly created ISO image is not valid - everything is complaining about it
 
Old 03-20-2012, 04:18 AM   #13
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Rep: Reputation: 80
With the perl script, you usually need to change the first line

#!/usr/local/bin/perl

to

#!/usr/bin/perl

That might work for some, but I am still getting this error.

Can't locate Compress/Zlib.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./dmg2iso.pl line 15.
BEGIN failed--compilation aborted at ./dmg2iso.pl line 15.
 
  


Reply

Tags
conversion, dmg


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
I have an ISO and DMG...now what? pieper Linux - Newbie 13 03-24-2007 07:45 AM
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
can linux do anything with .dmg files? Mugatu Linux - Software 3 06-01-2004 07:44 AM
I downloaded the gentoo iso in mandrake, what program do i burn the iso with backflippin General 4 04-05-2004 10:20 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration