building rpms on debian

2006-04-19 Thread Ek Zindagoi
Hi everyone, 
what are the ways I can build RPMs on Debian system ?? Cani use rpmbuild -bb command on a debian system ? 

Thanks,
Dhanvi


Re: building rpms on debian

2006-04-19 Thread Roberto C. Sanchez
Ek Zindagoi wrote:
 Hi everyone,
  what are the ways I can build RPMs on Debian system ?? Can i use
 rpmbuild -bb command on a debian system ?
  
 Thanks,
 Dhanvi

You can install the rpm package on Debian.  Now, whether you can make it
work with build dependencies is another issue.  You may have to install
the Debian equivalents and then force the build to ignore the
dependencies.  There is information about this available via Google.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto


signature.asc
Description: OpenPGP digital signature


Re: building rpms on debian

2006-04-19 Thread Ek Zindagi
Hi :
On 4/19/06, Roberto C. Sanchez [EMAIL PROTECTED] wrote:
 You can install the rpm package on Debian.  Now, whether you can make it
 work with build dependencies is another issue.  You may have to install
 the Debian equivalents and then force the build to ignore the
 dependencies.  There is information about this available via Google.

I have been searching for information on how to build rpms on debain
systems but havent been able to find out much.. apart from this one
link on the debain-users mailing list :
http://lists.debian.org/debian-user/2004/04/msg00150.html
If you do know any more pertinent information, can you please forward
me the links ?

Thanks for your help.

Dhanvi



Re: building rpms on debian

2006-04-19 Thread Iván Alemán
On 4/19/06, Ek Zindagoi [EMAIL PROTECTED] wrote:
Hi everyone, 
what are the ways I can build RPMs on Debian system ?? Cani use rpmbuild -bb command on a debian system ? 

Thanks,
Dhanvi

Why you want to use rpm instead use deb packages use apt to avoid dependencies problems!!-- Iván Alemán ~ [[ m o f o ]] ~Debian (SID)-BEGIN GEEK CODE BLOCK-
Version: 3.12G!GCM d+ s: a? C+++ UL++P L$ E--- W+++ N* o---K- w O- M+ V-- PS++ PE-- Y PGP+++t-- 5 X R+ !tv b++ DI-- D+++ G+e++ h* r+ z**$--END GEEK CODE BLOCK--
bonovoxmofo.blogspot.com


Re: building rpms on debian

2006-04-19 Thread Iván Alemán
On 4/19/06, Ek Zindagi [EMAIL PROTECTED] wrote:
Hi :On 4/19/06, Roberto C. Sanchez [EMAIL PROTECTED] wrote: You can install the rpm package on Debian.Now, whether you can make it work with build dependencies is another issue.You may have to install
 the Debian equivalents and then force the build to ignore the dependencies.There is information about this available via Google.I have been searching for information on how to build rpms on debain
systems but havent been able to find out much.. apart from this onelink on the debain-users mailing list :http://lists.debian.org/debian-user/2004/04/msg00150.html
If you do know any more pertinent information, can you please forwardme the links ?Thanks for your help.DhanviWhy you want to build a rpm file ?
-- Iván Alemán ~ [[ m o f o ]] ~Debian (SID)-BEGIN GEEK CODE BLOCK-Version: 3.12G!GCM d+ s: a? C+++ UL++P L$ E--- W+++ N* o---K- w O- M+ V-- PS++ PE-- Y PGP+++
t-- 5 X R+ !tv b++ DI-- D+++ G+e++ h* r+ z**$--END GEEK CODE BLOCK--bonovoxmofo.blogspot.com


Re: building rpms on debian

2006-04-19 Thread Sven Hoexter
On Wed, Apr 19, 2006 at 12:11:20PM -0500, Ek Zindagoi wrote:
 Hi everyone,
  what are the ways I can build RPMs on Debian system ?? Can i use rpmbuild
 -bb command on a debian system ?
In general yes but I'd install a chroot with the distribution you aim to
package for. Try out rpmstrap to build the chroot enviroment.

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: building rpms on debian

2006-04-19 Thread Rodney D. Myers
On Wed, 19 Apr 2006 12:11:20 -0500
Ek Zindagoi [EMAIL PROTECTED] wrote:

 Hi everyone,
  what are the ways I can build RPMs on Debian system ?? Can i use rpmbuild
 -bb command on a debian system ?
 
 Thanks,
 Dhanvi

Also look for a program called checkinstall It may help do what you
want. It can create debs  rpms

-- 
Rodney D. Myers [EMAIL PROTECTED] 
Registered Linux User #96112
ICQ#: AIM#:   YAHOO:
18002350  mailman452  mailman42_5

They that can give up essential liberty to obtain a 
little temporary safety deserve neither liberty nor safety.
Ben Franklin - 1759


signature.asc
Description: PGP signature


Re: building rpms on debian

2006-04-19 Thread Zen Garden
I had a similar problem. Install alien.#apt-get install alienthen you run this comand:#alien --to-deb wathver.rpmand it makes a .deb packege from the .rpm.Finally, type:
# dpkg -i name of the new .deb If there where unreached dependencies, just open Synaptic and click the option to repair broken packages.Hope I were helpfull,Chao!
Matías.-On 4/19/06, Rodney D. Myers [EMAIL PROTECTED] wrote:
On Wed, 19 Apr 2006 12:11:20 -0500Ek Zindagoi [EMAIL PROTECTED] wrote: Hi everyone,what are the ways I can build RPMs on Debian system ?? Can i use rpmbuild
 -bb command on a debian system ? Thanks, DhanviAlso look for a program called checkinstall It may help do what youwant. It can create debs  rpms--Rodney D. Myers 
[EMAIL PROTECTED]Registered Linux User #96112ICQ#: AIM#: YAHOO:18002350mailman452mailman42_5They that can give up essential liberty to obtain a
little temporary safety deserve neither liberty nor safety.Ben Franklin - 1759-- 
La vida es una aplastante derrota tras otra, hasta que acabas deseando que se muera Flanders.Homero SimpsonDios es el único ser que para reinar no tuvo ni siquiera necesidad de existir.
Charles Baudelaire


Re: [Fwd: Re: Pacotes RPMS para Debian]

2005-04-01 Thread Márcio de Araújo Benedito
Gusmao wrote:
Ai pessoal.. instalei o openoffice tudo corretamente..
apliquei o comando /opt/openoffice.org1.9.79/program/soffice ,
mas.. ele aparece um erro assim, javaldx: Could not find a Java Runtime 
Environment! mesmo assim
ele abriu para mim corretamente.. mas quando eu fui abrir o programa 
database, ele deu um erro reportando assim
OpenOffice.org requires a java runtime environment (JRE) to perform 
this task.
Please install a JRE and restart OpenOffice.org
Eu avisei que não era para fazer isso, principalmente porque você é 
iniciante e não saberia como resolver as pendengas derivadas. Ademais, 
existem pacotes debian para openoffice.org, tanto a versão estável 
quanto as betas do 2.0.

creio que devo instar o Java runtime, para funcionar corretamente.. mas 
como faço isso .. eu uso o Debian CDD..
Leia a documentação.
--
Esta mensagem, incluindo seus anexos, não contém nenhuma
informação confidencial, pois se é para ser confidencial
não poderia ser transitada por e-mail em uma lista pública.
Portanto, se você não é o destinatário final da mensagem, não
se preocupe! Além disso você pode fazer qualquer coisa com
esta mensagem, incluíndo esta sátira à notas de copyrights
ridiculas, que eu não estou nem aí!!!
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Pacotes RPMS para Debian

2005-03-30 Thread Tiago Saboga
Em Qua 30 Mar 2005 13:38, você escreveu:
 Ai.. cara.. blz.. ou valeu pela dica da conversão dos pacotes..
 so que não consegui instala-los..
 eles estão assim, ja transformados
 /home/gusmao/programas/RPMS/deb#
 os pacotes .deb estão neste caminho dentro da pasta deb...
 e agora, como eu faço para instala-los?
 obrigado

Se os pacotes debian foram construídos adequadamente, instale-os com o comando 

# dpkg -i --force-overwrite *.deb

no diretório onde estão os pacotes, claro.

Depois disso, segui as instruções contidas em 

http://installation.openoffice.org/servlets/ReadMsg?list=devmsgNo=610

mas acho que elas não são mais necessárias para as atuais versões. Proponho 
que, depois de rodar o dpkg, você teste lançar o openoffice, com o comando

/opt/openoffice1.9.51/program/soffice

Se não funcionar, aí sim, tente seguir as instruções do link acima. Se der 
erros em alguma etapa do processo, mande tudo para a lista que a gente tenta 
ajudar. Ah, e mantenha a discussão dentro da lista, para que outros possam 
aproveitar...

[]s,

tiago.



[Fwd: Re: Pacotes RPMS para Debian]

2005-03-30 Thread Gusmao
Ai pessoal.. instalei o openoffice tudo corretamente..
apliquei o comando /opt/openoffice.org1.9.79/program/soffice ,
mas.. ele aparece um erro assim, javaldx: Could not find a Java Runtime 
Environment! mesmo assim
ele abriu para mim corretamente.. mas quando eu fui abrir o programa 
database, ele deu um erro reportando assim
OpenOffice.org requires a java runtime environment (JRE) to perform 
this task.
Please install a JRE and restart OpenOffice.org
creio que devo instar o Java runtime, para funcionar corretamente.. mas 
como faço isso .. eu uso o Debian CDD..
---BeginMessage---
Em Qua 30 Mar 2005 13:38, você escreveu:
 Ai.. cara.. blz.. ou valeu pela dica da conversão dos pacotes..
 so que não consegui instala-los..
 eles estão assim, ja transformados
 /home/gusmao/programas/RPMS/deb#
 os pacotes .deb estão neste caminho dentro da pasta deb...
 e agora, como eu faço para instala-los?
 obrigado

Se os pacotes debian foram construídos adequadamente, instale-os com o comando 

# dpkg -i --force-overwrite *.deb

no diretório onde estão os pacotes, claro.

Depois disso, segui as instruções contidas em 

http://installation.openoffice.org/servlets/ReadMsg?list=devmsgNo=610

mas acho que elas não são mais necessárias para as atuais versões. Proponho 
que, depois de rodar o dpkg, você teste lançar o openoffice, com o comando

/opt/openoffice1.9.51/program/soffice

Se não funcionar, aí sim, tente seguir as instruções do link acima. Se der 
erros em alguma etapa do processo, mande tudo para a lista que a gente tenta 
ajudar. Ah, e mantenha a discussão dentro da lista, para que outros possam 
aproveitar...

[]s,

tiago.



---End Message---


Re: RPMs on debian

2004-04-02 Thread Alexander Schmehl
* Paul Johnson [EMAIL PROTECTED] [040402 04:58]:

 http://packages.debian.org/cgi-bin/search_packages.pl?keywords=aliensearchon=namessubword=1version=allrelease=all

FYI: You can use just http://packages.debian.org/alien. Easier to
remeber, shorter, won't break in youre mailreader, and will redirect you
to the same site :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RPMs on debian

2004-04-01 Thread Phil
Is there a way to install RPMs on Debian?

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: RPMs on debian

2004-04-01 Thread Paul Johnson
Phil [EMAIL PROTECTED] writes:

 Is there a way to install RPMs on Debian?

Yes.  Alien.  But ultimately, you should just be using .debs instead.
Pester your developer.

http://packages.debian.org/cgi-bin/search_packages.pl?keywords=aliensearchon=namessubword=1version=allrelease=all

-- 
 .''`. Paul Johnson [EMAIL PROTECTED]
: :'  :
`. `'` proud Debian admin and user
  `-   Debian.  Because it *must* work.  debian.org   aboutdebian.com


pgp0.pgp
Description: PGP signature


Re: RPMs on debian

2004-04-01 Thread Lorenzo Prince
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thus spake Phil:
# Is there a way to install RPMs on Debian?

Two ways I can think of:

1)
apt-get install alien
alien --to-deb package.rpm

2)
mkdir /var/lib/rpm
rpm --initdb

then install the package with
rpm -i package.rpm --nodeps

If you have committed yourself to maintaining some RPMs and have since migrated
to Debian as I have, this option will allow you to continue building RPMs on
Debian (using rpmbuild -ba specfile.spec --nodeps) on Debian.

HTH,
PRINCE
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAbPYiAl2SNUPt1I8RAqXsAJ9+NYlzymBsL/h98bTgqyaDZB/s7QCfd8CK
cxhHtuBlJGQq2GSAVEXpykQ=
=v/FO
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Hi, how to install rpms on Debian??

2003-07-13 Thread SYNeR
From: Zhao You Bing [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 13, 2003 1:21 PM
Subject: Hi, how to install rpms on Debian??


 Thanks!!!
 --
 Zhao YouBing, Ph.D student
 State Key Lab of CADCG,Zhejiang University,
 Hangzhou, 310027, P.R.China
 Tel  : 0571-87951045(O), 87933444(H)
 Email: [EMAIL PROTECTED]
 MSN  : [EMAIL PROTECTED]


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]



I believe you can use a package called Alien to convert
RPM packages to Debian packages, then install with dpkg like
you normally would.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Hi, how to install rpms on Debian??

2003-07-12 Thread Zhao You Bing
Thanks!!!
--
Zhao YouBing, Ph.D student
State Key Lab of CADCG,Zhejiang University,
Hangzhou, 310027, P.R.China
Tel  : 0571-87951045(O), 87933444(H)
Email: [EMAIL PROTECTED]
MSN  : [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Hi, how to install rpms on Debian??

2003-07-12 Thread Andrey Vlassov

Well you can try package alien but be warned that it didn't work
properly with some packages for me.

Andy

On Sun, 13 Jul 2003, Zhao You Bing wrote:

 Thanks!!!
 --
 Zhao YouBing, Ph.D student
 State Key Lab of CADCG,Zhejiang University,
 Hangzhou, 310027, P.R.China
 Tel  : 0571-87951045(O), 87933444(H)
 Email: [EMAIL PROTECTED]
 MSN  : [EMAIL PROTECTED]


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Check out alien! was Re: Hi, how to install rpms on Debian??

2003-07-12 Thread Kenward Vaughan
On Sun, Jul 13, 2003 at 11:21:30AM +0800, Zhao You Bing wrote:
 Thanks!!!

You're welcome!

-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Installing Intel compiler RPMs on Debian

2003-03-11 Thread Bob Proulx
Charlie Zender wrote:

 2. Creating a new partition with RedHat just for this is the software
 equivalent of building a second Taj Mahal because your wife does not
 like the color of the first one.

You don't need a partition.  Just a copy of the directory structure.
These are the directories that you need.  If I got the list right.

  bin dev etc lib opt root sbin tmp usr var root

Copy those from your RH machine to your Debian machine and put them in
an area to be chroot'd into.  Say /rharea or some such.  At that time
you can install normally.  After you are done you can copy the bits
out.  (This also works in reverse.  You can have a Debian chroot area
on the RH machine.  But that is another story.)

  chroot /rharea
  rpm -qa

But since you already have the bits installed on your other RH
machines you can just copy the data over from there.

 3. I asked Intel if they would supply Debian-compatible compilers
 to their customers. FYI, their rather helpful reply is below. Basically
 they seem to be saying that I can do a manual install along the lines
 of what I tried but using rpm2cpio instead of alien. Maybe this will 
 work better, I have not tried it yet.

Using this information posted by Intel I can post more details of my
own process.

Because they wrap the rpm installer with their own script installer it
is not even possible to create a rpm database and install it using
rpm.  There will be unsatisified dependencies.  You can't even force
the installation because the script installer isolates you from the
rpm installer.

 What is the recommended way to install the Intel Fortran and C/C++
 compilers on Debian?

I have not yet seen much discussion on the lists specifically
concerning the Intel compilers.  Unfortunately you want to install one
of the most confusing packages.  I have installed the Intel compiler
several times.  PITA.

 I suppose I could try to find where the RPMs want to install their
 contents, and then try to install them myself manually.  This sounds
 dangerous and error-prone, however.

Actually it is not so dangerous.  This is basically what the alien
program does.  It takes apart the rpm and puts it back together again
as a deb.  I created my own debs this way manually.

I am only commenting on their packaging of their compiler and not the
compiler itself.  The compiler software itself seems of fine quality.
But they wrapped it in a burlap bag and threw it off of the delivery
truck onto the doorstep without stopping the truck.  The overall
impression the user is left with is less than good.

Okay, enough ranting.  Here are the details.  The compilers arrive as
a compressed tar file.  This is how the installation goes on an rpm
based system.  Untar the file into a directory.  There you will see
many files including install scripts, release notes and rpm files.
They expect you to run the 'install' script.  That script will install
the rpm files onto your system using rpm.  Okay so far.  Then the
install script will walk through a series of files and scripts which
were installed and *edit them after the rpm installation*.  This step
renders the installation impossible to verify on an rpm system.  The
checksums are now different than the install database thinks they
should be.  They are really just using rpm as a tarfile style file
splat onto your system and then doing fixup later outside of the
install system.  But the installation should still work regardless.

Therefore if you have a RH system and have previously installed the
compilers there you can simply copy the directory /opt/intel from that
machine over to your Debian machine.  You can make a snapshot of it
with 'tar cvzf' and then untar it in place on the other system.  That
should work for the most painless way to transfer the bits.  But if
you do not have a RH machine at all nor a RH chroot area to unpack
this in then you can pick things apart on your Debian system manually
and achieve a working result.

[This looks basically like what Intel has recommended that you do in
the note that you posted.  But perhaps I have a little more detail
here.  Note that I have been working with ia64 and not ia32 and
therefore there may be some differences.]

Here is what I recommend that you do on Debian.  The compilers arrive
as a compressed tar file.  Untar the file into a directory.  Then use
rpm2cpio to extract the files that you need manually.  You will want
to unpack the three rpm files that match your architecture.

  for file in *.i386.rpm; do
rpm2cpio  $file | cpio -idvm
  done

That will unpack all of the files into a ./opt/ directory.  You will
now need to do what the script installer does.

Decide where you are going to install the compiler.  That could be the
default /opt/intel directory.  Or it could be /usr/local/ someplace.
Here is the instructions in more script form.  I install them in /opt
but the normal recommendation is to install one off software in
/usr/local someplace.  In this case /opt/intel is the default 

Re: Installing Intel compiler RPMs on Debian

2003-03-10 Thread Osamu Aoki
Yes Bob is right.  Let me add few words for quick and sure cure :-)

On Sun, Mar 09, 2003 at 01:27:38PM -0700, Bob Proulx wrote:
 Nathan Poznick wrote:
   error: cannot open Packages index using db3 - No such file or directory (2)
  
  Actually, this error is usually due to the RPM database not being
  initialized.  As root, do an
  
  rpm --initdb
  
  And you shouldn't get that message anymore.  However, it is probably
  best to simply use alien to convert the RPMs into debian packages.
 
 No, no, NO!  Initializing the rpm database like that will only allow
 you to experience dependency nightmares and possibly break your
 system.  Please do not recommend this method to other people.  It can
 only hurt them.
 
 Man with one watch knows what time it is.  Man with two watches is
 never really sure.  Try to rpm install package A.  Package A depends
 upon glibc which is not installed by rpm.  (It is installed, but rpm
 does not know about it.)  So you install it by rpm.  If you keep that
 up you will have two completely confused package managers and one
 really broken system.
 
 In general the right answer is to convert the rpm package using alien
 to a deb package and install the deb package.  Unfortunately the alien
 in 'woody' 'stable' has a couple of conversion bugs.  The one from
 'sid' 'unstable' has those fixed.  I recommend the alien from unstable
 at this time.
 
 [In the case of the Intel compiler this won't work because their
 packages are completely wacked.  They use an external installer shell
 script around the rpm installer.  They use rpm only as a tar-like file
 carrier and then munge the files after rpm install using their
 installer shell script.  Even on an rpm based system the installation
 won't verify after an install.  They are horrible!  I am going to
 answer the problem of the Intel compiler in another response.  And
 remember, that compiler is not free[1] software and therefore is
 definitely not part of the Debian project.]
 
 When or if people talk to vendors of rpm packages please push them
 toward the LSB[2].  LSB compliant packages will install with little
 effort on Debian systems using alien.
 
 Then push that vendor to supply packages in the format that their
 users are using.  You are using Debian therefore ask them to supply
 Debian packages directly.

In the mean time, if Charlie Zender [EMAIL PROTECTED] needs immediate
needs to use Intel compiler, make a minimum install of RH system into
a empty partition and install it there.

Then reboot system back to Debian, of course, and mount RH partition
to somewhere.  Start chroot RH console using similar trick used by
Colin Walters.

  http://people.debian.org/~walters

Then you have Debian stablikity with access to RH system. Do not run
bother to run X from RH which may eat too much memory of having 2 X.

More on chroot:

  http://www.debian.org/doc/manuals/reference/ch-tips.en.html#s-chroot

This way, system is very safe without RH daemon with no compatibility
issues on user space console program.

 Bob
 
 [1] http://www.debian.org/intro/free
 
 [2] http://www.linuxbase.org/

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +
Osamu Aoki [EMAIL PROTECTED]   Cupertino CA USA, GPG-key: A8061F32
 .''`.  Debian Reference: post-installation user's guide for non-developers
 : :' : http://qref.sf.net and http://people.debian.org/~osamu
 `. `'  Our Priorities are Our Users and Free Software --- Social Contract


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Installing Intel compiler RPMs on Debian

2003-03-10 Thread Charlie Zender
Hi,

Wow. The help people are sending is incredible! This is the first
message I've posted to Debian User since I switched to Debian
a few weeks ago. I havn't needed to post anything else because it
just works, but these Intel compilers are a real challenge.
1. I tried alien'ing the RPMS and then manually changing INSTALL_DIR
in the scripts. This did not work for me. YMMV.
2. Creating a new partition with RedHat just for this is the software
equivalent of building a second Taj Mahal because your wife does not
like the color of the first one.
3. I asked Intel if they would supply Debian-compatible compilers
to their customers. FYI, their rather helpful reply is below. Basically
they seem to be saying that I can do a manual install along the lines
of what I tried but using rpm2cpio instead of alien. Maybe this will 
work better, I have not tried it yet.
4. If anyone has a working solution, please let me know how you did it.
5. I am using debian unstable, so it does not have to run on woody.

Thanks,,
Charlie
--
Charlie Zender, zender at uci dot edu, (949) 824-2987, Department of
Earth System Science, University of California, Irvine CA 92697-3100
 Charlie,

 The compiler package comes only with RPMS.  There are no current 
plans for
 packaging specifically for Debian.
 While the following instructions are not officially supported, it 
will allow
 you to install the compilers on your Debian system:

 You can use the alien utility to turn rpms into debs.  But, our install
 script will not work with debs, so you will need to install manually 
(this
 is not supported).  Here is what you have to do:

 1) mkdir opt
 2) rpm2cpio intel-icc7-7.0-86.i386.rpm | cpio -i {I'm guessing at the
 filename here, I don't know what version you have}
 3) edit script to run compiler driver in 
opt/intel/compiler70/ia32/bin/icc.
 Replace INSTALLDIR with
 `pwd`/opt/intel directory (this is the main install directory for your
 install).
 4) copy your license file to `pwd`/opt/intel/licenses
 5) set LD_LIBRARY_PATH variable
 	export LD_LIBRARY_PATH=`pwd`/opt/intel/compiler70/ia32/lib

 Best Regards,
 Mark Sabahi
 Intel Developer Support


 For on-line assistance: http://support.intel.com/support/performancetools
 For product forums: http://www.intel.com/ids/community
 For general support information:
 http://www.intel.com/software/products/support/index.htm






--
From: 	Charlie Zender[SMTP:[EMAIL PROTECTED]
Sent: 	Monday, March 10, 2003 12:22:23 PM
To: 	PTO Support
Subject: 	ifc and icc for Debian
Auto forwarded by a Rule


 Hi,

 My group at the University of California at Irvine uses Debian Linux.
 If we buy ifc and icc from Intel, will we receive a product that is
 easy to install on Debian Linux? i.e., are their .deb packages?
 or only RPMs? As you may know, your icc and ifc RPMs are not
 standalone and so cannot be easily used on debian machines by
 conversion using alien.

 Thanks,
 Charlie



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Installing Intel compiler RPMs on Debian

2003-03-10 Thread Osamu Aoki
On Mon, Mar 10, 2003 at 03:48:45PM -0800, Charlie Zender wrote:
 Hi,
 
 Wow. The help people are sending is incredible! This is the first
 message I've posted to Debian User since I switched to Debian
 a few weeks ago. I havn't needed to post anything else because it
 just works, but these Intel compilers are a real challenge.
 
 1. I tried alien'ing the RPMS and then manually changing INSTALL_DIR
 in the scripts. This did not work for me. YMMV.
 2. Creating a new partition with RedHat just for this is the software
 equivalent of building a second Taj Mahal because your wife does not
 like the color of the first one.

Well HD is cheap. 500MB - 1GB for hassle free access is needed, this s
the only way guaranteed.

 3. I asked Intel if they would supply Debian-compatible compilers
 to their customers. FYI, their rather helpful reply is below. Basically
 they seem to be saying that I can do a manual install along the lines
 of what I tried but using rpm2cpio instead of alien. Maybe this will 
 work better, I have not tried it yet.

See below along this trick. Dependencies to other libraries will be a
bitch but  if you wish...

 4. If anyone has a working solution, please let me know how you did it.
 5. I am using debian unstable, so it does not have to run on woody.

OK,

One more try on 3rd option :-)

Open RPM with mc and copy files to where ever you think should go.
Here mc is midnight commander.  Unstable got new version, so it may be
rough edged but I think testing is still old one.

I know this is totally manual and stupid, but it should work if package
dependencies does not bite you.  (mc runs rpm2cpio inside but does it
transparently for you.)

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +
Osamu Aoki [EMAIL PROTECTED]   Cupertino CA USA, GPG-key: A8061F32
 .''`.  Debian Reference: post-installation user's guide for non-developers
 : :' : http://qref.sf.net and http://people.debian.org/~osamu
 `. `'  Our Priorities are Our Users and Free Software --- Social Contract


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Installing Intel compiler RPMs on Debian

2003-03-09 Thread Nathan Poznick
 error: cannot open Packages index using db3 - No such file or directory (2)

Actually, this error is usually due to the RPM database not being
initialized.  As root, do an

rpm --initdb

And you shouldn't get that message anymore.  However, it is probably
best to simply use alien to convert the RPMs into debian packages.

-- 
Nathan Poznick [EMAIL PROTECTED]

There is no more miserable human being than one in whom nothing is
habitual but indecision. - William James


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Installing Intel compiler RPMs on Debian

2003-03-09 Thread Bob Proulx
Nathan Poznick wrote:
  error: cannot open Packages index using db3 - No such file or directory (2)
 
 Actually, this error is usually due to the RPM database not being
 initialized.  As root, do an
 
 rpm --initdb
 
 And you shouldn't get that message anymore.  However, it is probably
 best to simply use alien to convert the RPMs into debian packages.

No, no, NO!  Initializing the rpm database like that will only allow
you to experience dependency nightmares and possibly break your
system.  Please do not recommend this method to other people.  It can
only hurt them.

Man with one watch knows what time it is.  Man with two watches is
never really sure.  Try to rpm install package A.  Package A depends
upon glibc which is not installed by rpm.  (It is installed, but rpm
does not know about it.)  So you install it by rpm.  If you keep that
up you will have two completely confused package managers and one
really broken system.

In general the right answer is to convert the rpm package using alien
to a deb package and install the deb package.  Unfortunately the alien
in 'woody' 'stable' has a couple of conversion bugs.  The one from
'sid' 'unstable' has those fixed.  I recommend the alien from unstable
at this time.

[In the case of the Intel compiler this won't work because their
packages are completely wacked.  They use an external installer shell
script around the rpm installer.  They use rpm only as a tar-like file
carrier and then munge the files after rpm install using their
installer shell script.  Even on an rpm based system the installation
won't verify after an install.  They are horrible!  I am going to
answer the problem of the Intel compiler in another response.  And
remember, that compiler is not free[1] software and therefore is
definitely not part of the Debian project.]

When or if people talk to vendors of rpm packages please push them
toward the LSB[2].  LSB compliant packages will install with little
effort on Debian systems using alien.

Then push that vendor to supply packages in the format that their
users are using.  You are using Debian therefore ask them to supply
Debian packages directly.

Bob

[1] http://www.debian.org/intro/free

[2] http://www.linuxbase.org/


pgp0.pgp
Description: PGP signature


Re: Installing Intel compiler RPMs on Debian

2003-03-09 Thread Nathan E Norman
On Sun, Mar 09, 2003 at 01:34:05AM -0600, Gary Turner wrote:
 Charlie Zender wrote:
 
 Hi,
 
 What is the recommended way to install the Intel Fortran and C/C++
 compilers on Debian? They come as a set of RPMs. The RPMs do not
 install on my Debian system, because  there are no RPMs installed
 on my Debian system so it can't find any pre-requisites:
 
 error: cannot open Packages index using db3 - No such file or directory (2)
 
 I suppose I could try to find where the RPMs want to install their 
 contents, and then try to install them myself manually.
 This sounds dangerous and error-prone, however.
 I gather this is a FAQ, what to do when you have an RPM you want
 to install on a Debian system?, but I could not find the answer.
 
 Google on Installing RPMs on Debian HOWTO yields a lot of hits.  The
 key is the package alien.
 
 [EMAIL PROTECTED]:~$ apt-cache show alien
 Package: alien
 Priority: optional
 Section: admin
 Installed-Size: 212
 Maintainer: Joey Hess [EMAIL PROTECTED]
 Architecture: all
 Version: 8.24
 Depends: debhelper (= 3), perl (= 5.6.0-16), rpm (= 2.4.4-2),
 dpkg-dev, make, cpio
 Suggests: patch, bzip2, lsb-rpm, lintian
 Filename: pool/main/a/alien/alien_8.24_all.deb
 Size: 113412
 MD5sum: ac232fe4e3ef90229f48c5522e005297
 Description: install non-native packages with dpkg
  Alien allows you to convert LSB, Red Hat, Stampede and Slackware
 Packages
  into Debian packages, which can be installed with dpkg.
  .
  It can also generate packages of any of the other formats.
  .
  This is a tool only suitable for binary packages.
 
 HTH

FWIW, sometimes it is better IMO to turm RPMs into TGZ format; then
you can put the stuff in /opt or /usr/local.  I never ever install
anything into directories reserved for the packaging system unless it
came from a deb created by a debian maintainer, a deb created by
someone I trust, or a deb created by me.  I do not trust debs created
from rpm packages.

My 2 cents ..

-- 
Nathan Norman - Incanus Networking mailto:[EMAIL PROTECTED]
  We're sysadmins. Sanity happens to other people.
  -- Chris King


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Installing Intel compiler RPMs on Debian

2003-03-08 Thread Charlie Zender
Hi,

What is the recommended way to install the Intel Fortran and C/C++
compilers on Debian? They come as a set of RPMs. The RPMs do not
install on my Debian system, because  there are no RPMs installed
on my Debian system so it can't find any pre-requisites:

error: cannot open Packages index using db3 - No such file or directory (2)

I suppose I could try to find where the RPMs want to install their 
contents, and then try to install them myself manually.
This sounds dangerous and error-prone, however.
I gather this is a FAQ, what to do when you have an RPM you want
to install on a Debian system?, but I could not find the answer.

Any tips appreciated,
Charlie
-- 
Charlie Zender, zender at uci dot edu, (949) 824-2987, Department of
Earth System Science, University of California, Irvine CA 92697-3100



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Installing Intel compiler RPMs on Debian

2003-03-08 Thread Barry deFreese
Charlie Zender wrote:

Hi,

What is the recommended way to install the Intel Fortran and C/C++
compilers on Debian? They come as a set of RPMs. The RPMs do not
install on my Debian system, because  there are no RPMs installed
on my Debian system so it can't find any pre-requisites:
error: cannot open Packages index using db3 - No such file or directory (2)

I suppose I could try to find where the RPMs want to install their 
contents, and then try to install them myself manually.
This sounds dangerous and error-prone, however.
I gather this is a FAQ, what to do when you have an RPM you want
to install on a Debian system?, but I could not find the answer.

Any tips appreciated,
Charlie
 

You could try to use alien to turn it into a deb.  I used alien with 
rpm's for drivers for a Digiboard and had pretty good luck.  As for the 
db3 error, there is a Debian package for db3 if it is required. 
apt-cache search db3

Good luck,

--
Barry deFreese
Debian 3.0r1 Woody
Registered Linux Newbie #302256 - Debian Developer Wannabe
Programming today is a race between software engineers striving
to build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots. So far, the Universe is
winning. Rich Cook.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Installing Intel compiler RPMs on Debian

2003-03-08 Thread Gary Turner
Charlie Zender wrote:

Hi,

What is the recommended way to install the Intel Fortran and C/C++
compilers on Debian? They come as a set of RPMs. The RPMs do not
install on my Debian system, because  there are no RPMs installed
on my Debian system so it can't find any pre-requisites:

error: cannot open Packages index using db3 - No such file or directory (2)

I suppose I could try to find where the RPMs want to install their 
contents, and then try to install them myself manually.
This sounds dangerous and error-prone, however.
I gather this is a FAQ, what to do when you have an RPM you want
to install on a Debian system?, but I could not find the answer.

Google on Installing RPMs on Debian HOWTO yields a lot of hits.  The
key is the package alien.

[EMAIL PROTECTED]:~$ apt-cache show alien
Package: alien
Priority: optional
Section: admin
Installed-Size: 212
Maintainer: Joey Hess [EMAIL PROTECTED]
Architecture: all
Version: 8.24
Depends: debhelper (= 3), perl (= 5.6.0-16), rpm (= 2.4.4-2),
dpkg-dev, make, cpio
Suggests: patch, bzip2, lsb-rpm, lintian
Filename: pool/main/a/alien/alien_8.24_all.deb
Size: 113412
MD5sum: ac232fe4e3ef90229f48c5522e005297
Description: install non-native packages with dpkg
 Alien allows you to convert LSB, Red Hat, Stampede and Slackware
Packages
 into Debian packages, which can be installed with dpkg.
 .
 It can also generate packages of any of the other formats.
 .
 This is a tool only suitable for binary packages.

HTH


-- 
gt   [EMAIL PROTECTED]
Well, you order it from the 'Society of Hardware and Information
Technology Helpers, Executive Administration Division' website -
you're a member aren't you?--BOFH


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: RPMS in debian

2000-10-29 Thread Greg Gilbert
Alien has been mentioned already, but there are php and mysql debs
available from debian. I just did apt-get install php-mysql to
install it. 
Greg
* Eileen Orbell ([EMAIL PROTECTED]) wrote:
 Hi,
 
 Is there a way to convert RPM's so I can use them in Debian?? I want to 
 install the mysql-php-apache rpm from mysql.org
 
 Thanks
 
 
 Eileen Orbell
 Software  Internet Applications
 Capitol College
 mailto:[EMAIL PROTECTED]
 Don't Fear the Penguin.
 
 
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null



RPMS in debian

2000-10-28 Thread Eileen Orbell

Hi,

Is there a way to convert RPM's so I can use them in Debian?? I want to 
install the mysql-php-apache rpm from mysql.org


Thanks


Eileen Orbell
Software  Internet Applications
Capitol College
mailto:[EMAIL PROTECTED]
Don't Fear the Penguin.





Re: RPMS in debian

2000-10-28 Thread Moritz Schulte
Eileen Orbell [EMAIL PROTECTED] writes:

 Is there a way to convert RPM's so I can use them in Debian?? I want to 
 install the mysql-php-apache rpm from mysql.org

'alien' can convert RPM = DEB.

moritz
-- 
/* Moritz Schulte [EMAIL PROTECTED]
 * http://hp9001.fh-bielefeld.de/~moritz/
 * PGP-Key available, encrypted Mail is welcome.
 */



Re: RPMS in debian

2000-10-28 Thread kmself
on Sat, Oct 28, 2000 at 06:25:21PM -0400, Eileen Orbell ([EMAIL PROTECTED]) 
wrote:
 Hi,
 
 Is there a way to convert RPM's so I can use them in Debian?? I want to 
 install the mysql-php-apache rpm from mysql.org

man alien

(that's the manpage for alien, not men are an alien species,
regardless of truth content of either interpretation).

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of Gestalt don't you understand?  There is no K5 cabal
   http://gestalt-system.sourceforge.net/http://www.kuro5hin.org


pgpPQUJlBxE6d.pgp
Description: PGP signature