You are not logged in.

#1 2004-10-17 11:59:36

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Missing libIDL and libFOX when making packages

I'm trying to build two packages. Here are the PKGBUILDS

Mozilla Sunbird

# Contributor: Elias J. Guerrero (hyp0luxa) <hyp0luxa@yahoo.com> 

pkgname=mozilla-sunbird 
pkgver=cvs 
pkgrel=1 
pkgdesc="A CVS build of Mozilla's Sunbird Calendar Application" 
url="http://www.mozilla.org/projects/calendar/sunbird.html" 
depends=() 
makedepends=('cvs') 
cvsroot=":pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot" 

build() { 
  cd $startdir/src 

  # get rid of existing .mozconfig if necessary 
  if [ -f ~/.mozconfig ] 
  then 
    msg "Warning: existing .mozconfig in home directory saved to ~/.mozconfig.s$ "
    mv ~/.mozconfig ~/.mozconfig.save 
  fi 

  #cvs checkouts 
  msg "Connecting to Mozilla CVS server...password is 'anonymous'" 
  cvs -d $cvsroot login 
  msg "Checking out Mozilla....this will take awhile"
  cvs -d $cvsroot checkout mozilla/client.mk 
  make -f mozilla/client.mk checkout 
  cvs -d $cvsroot co mozilla/browser 
  cvs -d $cvsroot co mozilla/chrome 
  cvs -d $cvsroot co mozilla/toolkit 
  cvs -d $cvsroot co mozilla/sunbird 

  # modify default configure settings to enable gtk2 
  # and disable xft (uses freetype2 instead) 
  sed -e '9a ac_add_options --enable-toolkit-gtk2 
  ac_add_options --enable-default-toolkit=gtk2 
  ac_add_options --disable-toolkit-qt 
  ac_add_options --disable-toolkit-xlib 
  ac_add_options --disable-toolkit-gtk 
  ac_add_options --disable-xft' $startdir/src/mozilla/calendar/sunbird/config/mozconfig 

  # write new ~./mozconfig 
  echo . $startdir/src/mozilla/calendar/sunbird/config/mozconfig > ~/.mozconfig 
  cd $startdir/src/mozilla 

  # actual build 
  make -f client.mk build || return 1 
  make DESTDIR=$startdir/pkg install 
}

This is the error I get when I try to build it

checking for libIDL - version >= 0.6.3... no
*** The libIDL-config script installed by libIDL could not be found
*** If libIDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the LIBIDL_CONFIG environment variable to the
*** full path to libIDL-config.
checking for orbit-config... no
configure: error: libIDL not found.
        libIDL 0.6.3 or higher is required.
*** Fix above errors and then restart with "make -f client.mk build"
make: *** [/usr/local/download/custompkgs/mozilla-sunbird/src/mozilla/Makefile] Error 1
==> ERROR: Build Failed.  Aborting...

So I try to search for libIDL...

[root@ArchLinux mozilla-sunbird]# slocate libIDL
/usr/include/libIDL-2.0
/usr/include/libIDL-2.0/libIDL
/usr/include/libIDL-2.0/libIDL/IDL.h
/usr/lib/pkgconfig/libIDL-2.0.pc
/usr/lib/libIDL-2.so.0.0.0
/usr/lib/libIDL-2.a
/usr/lib/libIDL-2.la
/usr/lib/libIDL-2.so
/usr/lib/libIDL-2.so.0
/usr/bin/libIDL-config-2
/usr/local/download/custompkgs/mozilla-sunbird/src/mozilla/build/autoconf/libIDL-2.m4
/usr/local/download/custompkgs/mozilla-sunbird/src/mozilla/build/autoconf/libIDL.m4

Xfe

pkgname=xfe 
pkgver=0.72 
pkgrel=1 
pkgdesc="X File Explorer (Xfe) is an MS-Explorer like file manager for X." 
depends=(fox) 
source=(http://heanet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) 
url="http://roland65.free.fr/xfe" 
md5sums=('625a4c8e152314363d2f3a27cc8fa6cc')

build() { 
  cd $startdir/src/$pkgname-$pkgver 
  ./configure --prefix=/usr 
  make || return 1 
  make prefix=$startdir/pkg/usr install 
}

This is the error I get when I try to build it...

configure: error: "libFOX not found"
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

So I try to search for it...

[root@ArchLinux xfe]# slocate libFOX
/usr/lib/libFOX-1.2.a
/usr/lib/libFOX-1.2.la
/usr/lib/libFOX-1.2.so
/usr/lib/libFOX-1.2.so.0
/usr/lib/libFOX-1.2.so.0.0.9

Anyone know what the problem might be, and how to fix it?


Ørjan Pettersen

Offline

Board footer

Powered by FluxBB