PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Compiling .deb from source with additional parameters?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Compiling .deb from source with additional parameters?

Réponse
 
LinkBack Outils de la discussion
Vieux 13/11/2007, 23h40   #1
Kenward Vaughan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Compiling .deb from source with additional parameters?

Hi,

I'd like to be able to compile a package from source (ghemical, FWIW) so
that I can add so additional parameters not normally included which will
enhance the app for my purposes. The enhancements are part of the
upstream distribution (an interface with GAMESS).

Is there a way to do this using apt-get? Something which might be done
in the middle of a sequence like:

apt-get build-dep ghemical ; apt-get -b source ghemical

What would have to be added are the config parameters "--enable-gamess
--enable-shortcuts"

Thanks for any with this!


Kenward
--
.'^~;,_
Dr. Kenward Vaughan `:,'~~~~~
Professor of Chemistry \;:/
Bakersfield College |,;|
1801 Panorama Drive / ', \
Bakersfield, CA 93305 / o O \
http://www2.bc.cc.ca.us/kvaughan (oOoOOoOo)
---========---
???$$MM$$???




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 14/11/2007, 00h10   #2
Davide Mancusi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Compiling .deb from source with additional parameters?

Kenward Vaughan ha scritto:
> Hi,
>
> I'd like to be able to compile a package from source (ghemical, FWIW) so
> that I can add so additional parameters not normally included which will
> enhance the app for my purposes. The enhancements are part of the
> upstream distribution (an interface with GAMESS).
>
> Is there a way to do this using apt-get? Something which might be done
> in the middle of a sequence like:
>
> apt-get build-dep ghemical ; apt-get -b source ghemical
>
> What would have to be added are the config parameters "--enable-gamess
> --enable-shortcuts"


I think you should have a look at
$ ./configure --
and add or modify the relevant options in <pkg-source>/debian/rules
(look for CFLAGS). Then build everything using dpkg-buildpackage.

HTH,
Davide

--
A tautology is a thing which is tautological.
--
Time flies like an arrow. Fruit flies like a banana.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 14/11/2007, 01h20   #3
Kenward Vaughan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Compiling .deb from source with additional parameters?


On Wed, 2007-11-14 at 01:06 +0100, Davide Mancusi wrote:
> Kenward Vaughan ha scritto:
> > Hi,
> >
> > I'd like to be able to compile a package from source (ghemical, FWIW) so
> > that I can add so additional parameters not normally included which will
> > enhance the app for my purposes. The enhancements are part of the
> > upstream distribution (an interface with GAMESS).
> >
> > Is there a way to do this using apt-get? Something which might be done
> > in the middle of a sequence like:
> >
> > apt-get build-dep ghemical ; apt-get -b source ghemical
> >
> > What would have to be added are the config parameters "--enable-gamess
> > --enable-shortcuts"

>
> I think you should have a look at
> $ ./configure --
> and add or modify the relevant options in <pkg-source>/debian/rules
> (look for CFLAGS). Then build everything using dpkg-buildpackage.


That's the general thought I had--I guess I need to look for an apt-get
option which goes through the process up to the point of actually
building the package (some sort of "download and unpack, but then stop")
then a way to restart after the rules file modification...

Is there anything complicated about the process after getting the build
dependencies beyond simply DL'ing the source package (e.g. does some
other package have to come with it)?


Kenward
--
The church says the earth is flat, but I know that it is round, for I
have seen the shadow on the moon, and I have more faith in a shadow than
in the church. --Ferdinand Magellan



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 14/11/2007, 02h40   #4
Kamaraju Kusumanchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Compiling .deb from source with additional parameters?

On Tue, 13 Nov 2007 15:31:06 -0800, Kenward Vaughan wrote:

> Hi,
>
> I'd like to be able to compile a package from source (ghemical, FWIW) so
> that I can add so additional parameters not normally included which will
> enhance the app for my purposes. The enhancements are part of the
> upstream distribution (an interface with GAMESS).
>


I frequently do this with couple of packages. For example, I would like
to have readline support, history support in gnuplot. So I recompile it
myself in a "debianized way". The step-by-step instructions as to how I
do it can be found at

http://malayamaarutham.blogspot.com/...plot-with-gnu-
readline-and.html


--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 14/11/2007, 05h10   #5
Kenward Vaughan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Compiling .deb from source with additional parameters?

On Wed, 2007-11-14 at 02:29 +0000, Kamaraju Kusumanchi wrote:
> On Tue, 13 Nov 2007 15:31:06 -0800, Kenward Vaughan wrote:
>
> > Hi,
> >
> > I'd like to be able to compile a package from source (ghemical, FWIW) so
> > that I can add so additional parameters not normally included which will
> > enhance the app for my purposes. The enhancements are part of the
> > upstream distribution (an interface with GAMESS).
> >

>
> I frequently do this with couple of packages. For example, I would like
> to have readline support, history support in gnuplot. So I recompile it
> myself in a "debianized way". The step-by-step instructions as to how I
> do it can be found at
>
> http://malayamaarutham.blogspot.com/...plot-with-gnu-
> readline-and.html


This looks exactly like what I am trying to do. Thanks, Kamaraju!

Now to wait for the missing dependencies to show up...


Kenward
--
If you can't explain it simply, you don't understand it well enough. --
A. Einstein



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h45.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14863 seconds with 13 queries