Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30216 - KDevelop refuses to create projects that use admin.tar.gz
Summary: KDevelop refuses to create projects that use admin.tar.gz
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-02 17:07 UTC by KF1RdJJ3VXc
Modified: 2004-02-29 15:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description KF1RdJJ3VXc 2003-10-02 17:07:50 UTC
Trying to create a new project that uses admin.tar.gz (All of them except
'GNOME/Normal' or 'custom project'?) fails.

Reproducible: Always
Steps to Reproduce:
1. Start KDevelop.
2. Go to Project | New.
3. Click Next.
4. Fill out a Project name.
5. Click Next 4 times.
6. Click Create.

Actual Results:  
Starting with installation
App [Testkdeproject] Type [kde2normal]
unpacking <template.tar.gz> in </home/test/testkdeproject>...
unpacking <admin.tar.gz> in </home/test/testkdeproject>...
changing files [kde2normal]...
Starting with configuration
creating configuration files...
>make -f Makefile.dist
This Makefile is only for the CVS repository
This will be deleted before making the distribution
*** YOU'RE USING Autoconf version 2.13.
*** KDE requires autoconf 2.52, 2.53 or 2.54
KDEDIR=/usr/kde/3.1; QTDIR=/usr/qt/3;
make configure...
>LDFLAGS="" CFLAGS="-O0 -g3 -Wall" CXXFLAGS="-O0 -g3 -Wall"
>./configure 
creating API documentation...
>kdoc -p -d '/home/test/testkdeproject/testkdeproject-api' *.h
kdoc: processing testkdeproject.h
kdoc: processing testkdeprojectdoc.h
kdoc: processing testkdeprojectview.h
Generating documentation in html format...
creating testkdeproject.pot
>make -f admin/Makefile.common package-messages
READY

And then in the bottom window:

make[1]: *** [cvs] Error 1
make: *** [all] Error 2
sh: line 1: ./configure: No such file or directory
warning: TestkdeprojectDoc inherits unknown class 'QObject'
warning: TestkdeprojectView inherits unknown class 'QWidget'
warning: TestkdeprojectApp inherits unknown class 'KMainWindow'
QWidget hasn't a reference. at /usr/share/kdoc/kdocHTMLutil.pm line 576,
<SOURCE> line 347.
QWidget hasn't a reference. at /usr/share/kdoc/kdocHTMLutil.pm line 576,
<SOURCE> line 347.
QWidget hasn't a reference. at /usr/share/kdoc/kdocHTMLutil.pm line 576,
<SOURCE> line 347.
QWidget hasn't a reference. at /usr/share/kdoc/kdocHTMLutil.pm line 576,
<SOURCE> line 347.
QWidget hasn't a reference. at /usr/share/kdoc/kdocHTMLutil.pm line 576,
<SOURCE> line 347.
QWidget hasn't a reference. at /usr/share/kdoc/kdocHTMLutil.pm line 576,
<SOURCE> line 347.

Expected Results:  
Completed creating the project successfully.

I tried modifying /usr/share/apps/kdevelop/templates/admin.tar.gz's
detect-autoconf.sh to force it to use the latest tools like so:

AUTOCONF="/usr/bin/autoconf-2.57a"
AUTOHEADER="/usr/bin/autoheader-2.57a"
AUTOM4TE="/usr/bin/autom4te-2.57a"
AUTOMAKE="/usr/bin/automake-1.7"
ACLOCAL="/usr/bin/aclocal-1.7"

but then I get:

Starting with installation
App [Newtestkdeproject] Type [kde2normal]
unpacking <template.tar.gz> in </home/test/newtestkdeproject>...
unpacking <admin.tar.gz> in </home/test/newtestkdeproject>...
changing files [kde2normal]...
Starting with configuration
creating configuration files...
>make -f Makefile.dist
This Makefile is only for the CVS repository
This will be deleted before making the distribution
*** Creating acinclude.m4
*** Creating list of subdirectories
*** Creating configure.in
*** Creating aclocal.m4
*** Creating configure
KDEDIR=/usr/kde/3.1; QTDIR=/usr/qt/3;
make configure...
>LDFLAGS="" CFLAGS="-O0 -g3 -Wall" CXXFLAGS="-O0 -g3 -Wall"
>./configure 
creating API documentation...
>kdoc -p -d '/home/test/newtestkdeproject/newtestkdeproject-api' *.h
kdoc: processing newtestkdeproject.h
kdoc: processing newtestkdeprojectdoc.h
kdoc: processing newtestkdeprojectview.h
Generating documentation in html format...
creating newtestkdeproject.pot
>make -f admin/Makefile.common package-messages
READY

And then in the bottom window:

configure.in:44: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
configure.in:50:
/usr/bin/m4:
Warning: Excess arguments to built-in `m4_pushdef' ignore
autom4te-2.57a: /usr/bin/m4 failed with exit status: 1
make[1]: *** [cvs] Error 1
make: *** [all] Error 2
sh: line 1: ./configure: No such file or directory
warning: NewtestkdeprojectDoc inherits unknown class 'QObject'
warning: NewtestkdeprojectView inherits unknown class 'QWidget'
warning: NewtestkdeprojectApp inherits unknown class 'KMainWindow'
QWidget hasn't a reference. at /usr/share/kdoc/kdocHTMLutil.pm line 576,
<SOURCE> line 347.
QWidget hasn't a reference. at /usr/share/kdoc/kdocHTMLutil.pm line 576,
<SOURCE> line 347.
QWidget hasn't a reference. at /usr/share/kdoc/kdocHTMLutil.pm line 576,
<SOURCE> line 347.
QWidget hasn't a reference. at /usr/share/kdoc/kdocHTMLutil.pm line 576,
<SOURCE> line 347.
QWidget hasn't a reference. at /usr/share/kdoc/kdocHTMLutil.pm line 576,
<SOURCE> line 347.
QWidget hasn't a reference. at /usr/share/kdoc/kdocHTMLutil.pm line 576,
<SOURCE> line 347.

Any thoughts on how I can get this working?



Portage 2.0.49-r7 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-ben2)
=================================================================
System uname: 2.4.22-ben2 ppc 
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7450 -mpowerpc-gfxopt -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7450 -mpowerpc-gfxopt -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://gentoo.noved.org/
ftp://oss.redundant.com/pub/gentoo http://gentoo.ccccom.com
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/
ftp://gentoo.noved.org/ http://adelie.polymtl.ca/ ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="oss dvd xv jpeg nls mitshm gif gnome png truetype ppc cups foomaticdb
gnome-libs directfb alsa gdbm berkdb slang readline arts tetex aalib nas ggi
tcltk guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt
kde motif opengl mozilla cdr altivec crypt cscope curl dga dv dvb encode
ethereal faad fbcon ffmpeg foreign-package gd gphoto2 gps gstreamer gtk2 jack
java javascript jikes junit lcms lirc mbox md5sum memlimit mpeg music ncurses
oav objc offensive parse-clocks pcap pcmcia pda pdflib quicktime radeon samba
sasl slp snmp socks5 sox spell tiff trusted usb v4l videos vim-with-x wmf
wxwindows xine xinerama xml xml2 xmms xosd xvid zlib"
Comment 1 KF1RdJJ3VXc 2003-10-02 17:10:25 UTC
Err, forgot to mention this is with KDevelop 2.1.5
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-02-29 15:55:23 UTC
This should all be fixed in the 3.x versions of kdevelop.