View previous topic :: View next topic |
Author |
Message |
canduc17 l33t
Joined: 11 Oct 2005 Posts: 795 Location: Ferrara, Italy
|
Posted: Mon Jun 04, 2007 1:46 pm Post subject: Corretta installazione GraphiteOne-CAD |
|
|
Ciao.
Devo installare l'ultima versione di GraphiteOne-CAD.
Siccome nè su portage, nè su bugzilla sono presenti degli ebuild, sono costretto ad installarlo come dice sul sito: creare degli rpm e poi installarli.
Il fatto è che per configurare bene la compilazione per generare gli rpm, gli devo dire dove si trovano un sacco di pacchetti: librerie qt, python, X11, ecc.
La mia domanda è: dove vengono messi i pacchetti installati da portage?
L'help dello script di compilazione è questo qui: Code: | candesktop gonelibs # ./build.sh --help
usage : build.sh [options]
Options:
--mode=[compile|clean|package]
--what={qtbase|hoops|[ocbase-comp|ocbase-am]|sip|pyqt|pyoc|gonelib|uuidgen|kde|all}
--with-pylib=<dir> Directory where Python library is installed.
--with-pyinc=<dir> Directory where Python includes are installed.
--with-java=<dir> Directory where Java is installed.
--with-x11=<dir> Directory where X11 is installed.
--with-xmu-library=<dir> Directory where Xmu library is installed
--with-xmu-include=<dir> Directory where Xmu header subdirectory is installed
--with-tcl=<dir> Directory where tclConfig.sh is installed.
--with-tk=<dir> Directory where tkConfig.sh is installed.
--with-qt=<dir> Directory where qt3 is installed.
--packagedir=<the x in /usr/src/x/RPMS>
--pyocgen=[yes|no]
--version=<rpm package version>
--release=<rpm package release>
--packages=[graphiteone-libs|graphiteone-kde|all]
Build the GraphiteOne C/C++ libraries.
Notes:
- Prerequisites are:
- X11, libraries and devel package(s)
- Python 2.2 or 2.3 and devel package(s)
- OpenGL and devel package(s)
- Tcl/Tk and devel package(s)
- flex
- bison
- automake
- make
- gcc
- stdc++ library
- e2fs devel package
- KDE and Qt libraries and devel package(s) if "kde" is part of the --what="..." option.
- OpenCascade can be build either with automake (--what=ocbase-am) or
the old compile csh scripts (--what=ocbase-comp). When using automake,
Tcl/Tk development packages must be installed. Java doesn't hurd either.
- This package contains a qt library, so you do not have to install one. Anyhow,
if you plan to build the kde components, you should specify --with-qtdir=<dir>
to point to your distributions qt installation to avoid conflicts. |
E se io provo a farlo partire subito mi dà questo errore: Code: | candesktop gonelibs # ./build.sh --mode=compile
Python lib dir does not exist. Check --with-pylib option and Python installation. |
Tanto vale che inserisca manualmente ogni directory, per evitare casini...ma dove le trovo? _________________ A cow enters a supermarket, does an handstand and dies. (Public toilet graffito) |
|
Back to top |
|
|
Scen Retired Dev
Joined: 29 Jul 2003 Posts: 2470 Location: Padova, Italy
|
Posted: Mon Jun 04, 2007 2:28 pm Post subject: |
|
|
Per sapere dove Portage installa i file
Code: |
qlist <nomepacchetto>
|
(qlist è fornito da app-portage/portage-utils).
Comunque IMHO ti vai a fare male installando gli RPM: il codice sorgente è disponibile, per cui basta creare un ebuild apposito che compila il pacchetto ed installa i file necessari.
Con un pò di buona volontà ed impegno potresti creartelo da te, e poi proporlo su Bugzilla _________________ I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|