www.digitalmars.com         C & C++   DMDScript  

D.gnu - gdcgnu - RPM/DEB packages

reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
I put my RPM packages up at: http://gdcgnu.sourceforge.net/

They're built for Fedora Core 5, but if you can live with
them being for "redhat-linux" instead of "linux-gnu", then
you can use the Alien tool to convert them to DEB packages:

fakeroot alien --keep-version --scripts gdc-0.20-1.i386.rpm

Source packages are also provided (+ nosrc.rpm, without GCC),
that can build an entire GCC collection plus stand-alone GDC.
On Fedora Core, you need to use --with compat32 to build them.

Otherwise these GNU packages should match the Mac/Win ones ?

--anders

PS. I plan to post real DEBs later too, once I figure it out.
Dec 18 2006
next sibling parent Jeff <jeffrparsons optusnet.com.au> writes:
Awesome, thanks for doing this; I think it'll make a lot of people 
happy. I'm at work at the moment, but I'll be sure to check them out 
when I get home. :)
Dec 18 2006
prev sibling parent reply Jeff <jeffrparsons optusnet.com.au> writes:
Curious:


jeff meatpopsicle:~/Downloads/D$ fakeroot alien --keep-version --scripts 
gdc-0.20-1.i386.rpm
gdc_0.20-1_i386.deb generated
jeff meatpopsicle:~/Downloads/D$ sudo dpkg -i gdc_0.20-1_i386.deb
(Reading database ... 167368 files and directories currently installed.)
Preparing to replace gdc 0.20-1 (using gdc_0.20-1_i386.deb) ...
Unpacking replacement gdc ...
Setting up gdc (0.20-1) ...
[: 6: configure: bad number


Has anyone had success with alien-generated debs for this?




Anders F Björklund wrote:
 I put my RPM packages up at: http://gdcgnu.sourceforge.net/
 
 They're built for Fedora Core 5, but if you can live with
 them being for "redhat-linux" instead of "linux-gnu", then
 you can use the Alien tool to convert them to DEB packages:
 
 fakeroot alien --keep-version --scripts gdc-0.20-1.i386.rpm
 
 Source packages are also provided (+ nosrc.rpm, without GCC),
 that can build an entire GCC collection plus stand-alone GDC.
 On Fedora Core, you need to use --with compat32 to build them.
 
 Otherwise these GNU packages should match the Mac/Win ones ?
 
 --anders
 
 PS. I plan to post real DEBs later too, once I figure it out.

Dec 22 2006
parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Jeff wrote:

 jeff meatpopsicle:~/Downloads/D$ fakeroot alien --keep-version --scripts 
 gdc-0.20-1.i386.rpm
 gdc_0.20-1_i386.deb generated
 
 Has anyone had success with alien-generated debs for this?

Try again, without the --scripts (they don't seem to work anyway) and: ln -s /lib/libgcc_s.so.1 /usr/lib/*-redhat-linux/4.0.3/libgcc_s.so It installed OK on Ubuntu Dapper. --anders
Dec 22 2006