LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Why I can't find any devel pakages? (https://www.linuxquestions.org/questions/arch-29/why-i-cant-find-any-devel-pakages-264210/)

tx-cary 12-08-2004 06:13 PM

Why I can't find any devel pakages?
 
for Example, gtk2-devel and gnomeui-devel. Without these pakages, How can I compile my software from soure? In arch's current and extra server, there are not such pakages.

mjrich 12-08-2004 06:26 PM

You might want to search for libgtk+2.0 et al. The package names are along the lines of libgtk+2.0_0-devel-2.5.6-0.2.mdk10.1.i586.rpm.

Cheers,

mj

tx-cary 12-08-2004 07:36 PM

Oh, thinks. I can find the header (.h) files in /opt/gnome/include now.
But how can I make the ./condigure know the headers' location? Shall I make a soft link to /usr/include?

daperi 12-08-2004 09:41 PM

i assume, that you are writing a PKGBUILD for the thing you want to compile ...

for gnome (you mentioned /opt/gnome/...), there is a profile file that should be used for building-process. an example build() for PKGBUILD would look like this:

Code:

build() {
  [ "$GNOMEDIR" = "" ] && source /etc/profile.d/gnome.sh
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/opt/gnome \
              --disable-schemas-install
  make all || return 1
  make DESTDIR=$startdir/pkg  install
}



All times are GMT -5. The time now is 11:39 PM.