Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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)
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
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
*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.
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>
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.
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.