You are not logged in.
i've been thinking of packaging knetworkmanager from KDE's svn. But I've no clue how to build the package. There's no ./configure or ./autogen.sh, and no makefile that make catches up on, or anything that I'm used to. Any ideas of how to build the package?
Here's a look through websvn: http://websvn.kde.org/trunk/kdereview/knetworkmanager/
Thanks.
Offline
try running autoconf then automake. It'll give you the ./configure and makefile.
Offline
thanks for the reply. Autoconf just tells me that there's no input file. I've been trying to feed it various input files, such as configure.in.in, but to no avail.
I must be missing something really obvious...?
Offline
Try this: rename configure.in.in to configure.in and then run autoconf
Offline
Try this: rename configure.in.in to configure.in and then run autoconf
hmmm... gives me this:
configure.in:3: error: m4_defn: undefined macro: _m4_divert_diversion
autoconf/c.m4:1011: AC_C_BIGENDIAN is expanded from...
configure.in:3: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
Offline
Another wild guess: cd to the src directory and run automake there.
If that doesn't work, I don't know what else to suggest...
Offline
What happens if you try running aclocal, autoconf and automake in that order? On a fresh copy of the src.
Offline
I tried with this (still incomplete):
pkgname=knetworkmanager-svn
pkgver=539034
pkgrel=1
pkgdesc=""
url=""
depends=()
makedepends=('subversion')
conflicts=('')
replaces=('')
provides=('')
_svntrunk=svn://anonsvn.kde.org/home/kde/trunk/kdereview
_svnmod=knetworkmanager
build() {
cd $startdir/src
svn co $_svntrunk/$_svnmod --config-dir ./ -r $pkgver $_svnmod
cd $_svnmod
svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin/
svn cat $_svntrunk/Makefile.cvs > Makefile.cvs
msg "SVN checkout done or server timeout"
msg "Starting make..."
cd ..
cp -r $_svnmod $_svnmod-build
cd $_svnmod-build
make -f Makefile.cvs || return 1
./configure --prefix=/opt/kde
make all || return 1
make DESTDIR=$startdir/pkg/ install
rm -r $startdir/src/$_svnmod-build
}
But it gives me some error during the "make -F Makefile.cvs":
configure.in:7: error: m4_defn: undefined macro: _m4_divert_diversion
ViNS
Offline
What happens if you try running aclocal, autoconf and automake in that order? On a fresh copy of the src.
[nightfrost@dionysos knetworkmanager-build]$ aclocal
aclocal: `configure.ac' or `configure.in' is required
[nightfrost@dionysos knetworkmanager-build]$ cp configure.in.in configure.in
[nightfrost@dionysos knetworkmanager-build]$ aclocal
configure.in:3: error: m4_defn: undefined macro: _m4_divert_diversion
autoconf/c.m4:1011: AC_C_BIGENDIAN is expanded from...
configure.in:3: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
:?
Offline
hmm, sound similar problem that i had ..
+ aclocal-1.9 -I m4
/scratchbox/tools/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/scratchbox/tools/share/aclocal/pkg.m4:5: error: m4_defn: undefined macro: _m4_divert_diversion
/usr/share/aclocal/pkg.m4:114: PKG_CHECK_MODULES is expanded from...
/scratchbox/tools/share/aclocal/pkg.m4:5: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal-1.9: autom4te failed with exit status: 1
so i looked into line 5 of pkg.m4
dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
dnl also defines GSTUFF_PKG_ERRORS on error
AC_DEFUN(PKG_CHECK_MODULES, [
succeeded=no
google is my friend,
http://lists.freedesktop.org/archives/p … 00110.html
dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
dnl also defines GSTUFF_PKG_ERRORS on error
AC_DEFUN(PKG_CHECK_EXISTS, [
succeeded=no
I removed my sig, cause i select the flag, the flag often the target of enemy.
SAR brain-tumor
[img]http://img91.imageshack.us/img91/460/cellphonethumb0ff.jpg[/img]
Offline