compile make install error
Posted: Fri Feb 12, 2010 7:48 pm
Hi,
I got a package build file for codelite under Arch Linux.
That PKGBUILD file tells the makepkg tool how to create a package for Arch Linux that then can be installed with the pkg handling tool pacman.
The important part of that file is the following:
(complete file : http://aur.archlinux.org/packages/codel ... n/PKGBUILD)
It does a svn checkout (or if previously checked out only an update) then it configures the MAKEFILE and starts the make process
And then it is going to install the compilated things to the pkg dir from where the makepkg then generates a installable package. But it does not get this far, I get the following errors:
Maybe its not a codelite problem but maybe it is?
I got a package build file for codelite under Arch Linux.
That PKGBUILD file tells the makepkg tool how to create a package for Arch Linux that then can be installed with the pkg handling tool pacman.
The important part of that file is the following:
Code: Select all
_svnmod="codelite"
_svntrunk="https://codelite.svn.sourceforge.net/svnroot/codelite/trunk"
build() {
cd $srcdir/
msg "Getting source..."
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn --config-dir ../ up -r $pkgver)
else
svn --config-dir ./ co $_svntrunk -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Creating make environment..."
rm -rf $srcdir/$_svnmod-build
cp -r $srcdir/$_svnmod $srcdir/$_svnmod-build
cd $srcdir/$_svnmod-build
msg "Starting make..."
./configure --prefix=/usr
make || return 1
make DESTDIR=$pkgdir install
rm -rf $srcdir/$_svnmod-build
}
It does a svn checkout (or if previously checked out only an update) then it configures the MAKEFILE and starts the make process
And then it is going to install the compilated things to the pkg dir from where the makepkg then generates a installable package. But it does not get this far, I get the following errors:
Does this look like the fixed bug : http://codelite.svn.sourceforge.net/vie ... ision=3737........
dk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
Uninstalling CodeLite
cp lib/Debugger.so /home/myusername/temp/arch_pkgs/codelite-svn/pkg/usr/lib/codelite/debuggers/
installing CodeLite
cp: reguläre Datei „/home/myusername/temp/arch_pkgs/codelite-svn/pkg/usr/lib/codelite/debuggers/“ kann nicht angelegt werden: Datei oder Verzeichnis nicht gefunden (IN ENGLISH: could not be created file or folder not found)
make: *** [Debugger_install] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse... (waiting for not ended processes...)
Maybe its not a codelite problem but maybe it is?