You are not logged in.

#1 2004-09-05 16:03:41

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

problems building several packages

.:edit:.
these are works in progress so no they don;t have all the correct deps info yet - i'm just trying to get them to compile at the mo!
.:end edit:.

if someone could have a go at building these packages with these PKGBUILDS and let me know how it goes i'd be very grateful!  I get errors on all of them and can't resolve them:

pkgname=gcrontab
pkgver=0.8.0
pkgrel=1
pkgdesc="A GUI crontab editor for the Unix cron system."
url="http://www.arquired.es/users/aldelgado/proy/gcrontab/"
license=""
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://www.arquired.es/users/aldelgado/proy/gcrontab/$pkgname-$pkgver.tgz)
md5sums=('acd0797153d3aabe2242cc4dd61b1787')

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

the error:

In file included from callbacks.c:12:
conf.h:28:2: warning: no newline at end of file
In file included from callbacks.c:13:
msgbox.h:28:7: warning: no newline at end of file
callbacks.c:80: warning: no previous prototype for 'StatusBarMsg'
callbacks.c:93: warning: no previous prototype for 'NewWorkFile'
callbacks.c: In function `NewWorkFile':
callbacks.c:97: warning: passing arg 1 of `gtk_window_set_title' from incompatib               le pointer type
callbacks.c: At top level:
callbacks.c:104: warning: no previous prototype for 'SetWorkFile'
callbacks.c: In function `SetWorkFile':
callbacks.c:119: warning: passing arg 1 of `gtk_window_set_title' from incompati               ble pointer type
callbacks.c: At top level:
callbacks.c:126: warning: no previous prototype for 'SetGrdCron'
callbacks.c:166: warning: no previous prototype for 'LdCronStream'
callbacks.c:197: warning: no previous prototype for 'LdSysCrontab'
callbacks.c:280: warning: no previous prototype for 'SetWorkMode'
callbacks.c:298: warning: no previous prototype for 'SetStdBar'
callbacks.c: In function `SetStdBar':
callbacks.c:315: warning: implicit declaration of function `StdBarShow'
callbacks.c: At top level:
callbacks.c:321: warning: no previous prototype for 'SetTimeBar'
callbacks.c: In function `SetTimeBar':
callbacks.c:334: warning: implicit declaration of function `TimeBarShow'
callbacks.c: At top level:
callbacks.c:340: warning: no previous prototype for 'SetLastFile'
callbacks.c: In function `LdConfig':
callbacks.c:362: warning: control reaches end of non-void function
callbacks.c: In function `on_btn_accept_clicked':
callbacks.c:605: warning: unused variable `grd_cron'
callbacks.c: At top level:
callbacks.c:704: warning: no previous prototype for 'on_ok_button_save_quit_clicked'
callbacks.c: In function `on_ok_button_save_quit_clicked':
callbacks.c:708: warning: implicit declaration of function `RealQuit'
callbacks.c: At top level:
callbacks.c:764: warning: no previous prototype for 'SvCron'
callbacks.c: In function `SvCron':
callbacks.c:783: warning: control reaches end of non-void function
callbacks.c: At top level:
callbacks.c:787: warning: no previous prototype for 'SvCronFileNamed'
callbacks.c: In function `SvCronFileNamed':
callbacks.c:821: warning: passing arg 1 of `gtk_window_set_title' from incompati               ble pointer type
callbacks.c:790: warning: unused variable `txt'
callbacks.c:791: warning: unused variable `i'
callbacks.c:791: warning: unused variable `j'
callbacks.c:792: warning: unused variable `grd_cron'
callbacks.c: In function `SvCronFile':
callbacks.c:837: warning: control reaches end of non-void function
callbacks.c: At top level:
callbacks.c:841: warning: no previous prototype for 'Save'
callbacks.c:871: warning: no previous prototype for 'GetWorkMode'
callbacks.c:876: warning: no previous prototype for 'GetStdBar'
callbacks.c:882: warning: no previous prototype for 'GetTimeBar'
callbacks.c:887: warning: no previous prototype for 'GetLastFile'
callbacks.c:893: warning: no previous prototype for 'SvConfig'
callbacks.c:914: warning: no previous prototype for 'RealQuit'
callbacks.c:914: error: conflicting types for 'RealQuit'
callbacks.c:708: error: previous implicit declaration of 'RealQuit' was here
callbacks.c:923: warning: no previous prototype for 'setcron'
callbacks.c: In function `setcron':
callbacks.c:924: warning: implicit declaration of function `Set'
callbacks.c:927: warning: implicit declaration of function `MsgDirty'
callbacks.c: At top level:
callbacks.c:936: warning: no previous prototype for 'nosetcron'
callbacks.c:948: warning: no previous prototype for 'sv_close'
callbacks.c:964: warning: no previous prototype for 'close_only'
callbacks.c:971: warning: no previous prototype for 'MsgDirty'
callbacks.c:971: error: conflicting types for 'MsgDirty'
callbacks.c:927: error: previous implicit declaration of 'MsgDirty' was here
callbacks.c:1011: warning: no previous prototype for 'StdBarShow'
callbacks.c:1011: error: conflicting types for 'StdBarShow'
callbacks.c:315: error: previous implicit declaration of 'StdBarShow' was here
callbacks.c:1030: warning: no previous prototype for 'TimeBarShow'
callbacks.c:1030: error: conflicting types for 'TimeBarShow'
callbacks.c:334: error: previous implicit declaration of 'TimeBarShow' was here
callbacks.c: In function `on_btn_calendar_clicked':
callbacks.c:1195: warning: implicit declaration of function `time'
callbacks.c: At top level:
callbacks.c:1526: warning: no previous prototype for 'Set'
callbacks.c:1526: error: conflicting types for 'Set'
callbacks.c:924: error: previous implicit declaration of 'Set' was here
callbacks.c:1710: warning: no previous prototype for 'newandget'
callbacks.c:1718: warning: no previous prototype for 'GetCrontab'
make[2]: *** [callbacks.o] Error 1
make[2]: Leaving directory `/var/abs/temp/gcrontab/src/gcrontab-0.8.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/temp/gcrontab/src/gcrontab-0.8.0'
make: *** [all-recursive-am] Error 2
==> ERROR: Build Failed.  Aborting...

pkgname=gshieldconf
pkgver=0.40
pkgrel=1
pkgdesc=" gShield is an aggressive, modular, ipchains-based firewall script. gShieldConf is a small program to edit the configuration files for it."
url="http://members.shaw.ca/vhodges/gshieldconf.html"
license=""
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://members.shaw.ca/vhodges/gshieldconf-0.40.tar.gz [url]http://members.shaw.ca/vhodges/controls.xml)[/url]
md5sums=('d0232b266eb9c6ee41a062ebf9ea76da' 'b9515cf73fbb954c2a4db589826b17ed')

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

the error:

checking for xml-config... no
checking for libxml... checking for xml2-config... (cached) no
checking for libxml2... no
*** Could not find libxml.  Check out the libxml homepage at
*** http://www.xmlsoft.org or just get
*** the appropriate package for your system.
configure: error: libxml needed

i know i HAVE all the xml libs?!

i have some probs compiling some fonts too but i'll do another thread for that smile[/code]

Offline

#2 2004-09-05 16:50:08

ravster
Member
From: Queen's U, Kingston, Canada
Registered: 2004-05-02
Posts: 285
Website

Re: problems building several packages

*sigh*
I am getting these very same errors too. For gcrontab, the problem might be with the files themselves. Unix-based OSs require there be a newline entry at the end of each file, and these files do not seem to have them. Maybe you should contact the developer about this, along with the error messages you are receiving.

As for the second one, gshieldconf, I have had this problem with another package too, yahoopops requires this same libxml and does not seem to recognize libxml2. I have not yet found a way past this particular problem.

Good luck.

Offline

#3 2004-09-05 18:25:44

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: problems building several packages

gcrontab:
It should compile even with those "no newline at end of file" warnings. The first problem is "callbacks.c:914: error: conflicting types for 'RealQuit'" and it looks like a bug or it's just related to the gcc version in arch.

gshieldconf + libxml2:
I had similar problems with one of the contrib packages from postgresql. Check this thread:
http://bbs.archlinux.org/viewtopic.php? … ht=libxml2
You have to add addtional path for libxml2 include files. Check if gshieldconf configure script supports --with-includes or --with-extra-includes or something like this. If not you will have to patch the makefile to add another -I.

Offline

Board footer

Powered by FluxBB