Re: Debian kpovmodeler (was: configure error on debian woody kde 2.2.2)

2002-07-28 Thread John Gay
On Sun 28 Jul 2002 12:26, Mark Purcell wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Gerhard,
>
>
> Or I have put together a quick and dirty .deb for the KDE3 version at
> http://people.debian.org/~msp/.  If there is enough interested I could tidy
> it up and install into the main archive for you (once KDE3 hits sid of
> course).
>
I would certainly be interested in KPovModeler for KDE3 once it hits sid. I 
considered trying my hand at debing it, but Chris explained the compatibility 
problems and I got involved in trying Linux From Scratch instead. I am hoping 
to build a PentiumMMX optimized system including XFree86-cvs and KDE3 jsut to 
see how much performance I can squeeze.

So, put me donw as very interested in seeing KPovModeler supported in Debian 
in the near future!

> Mark
>
Cheers,

John Gay


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Debian kpovmodeler (was: configure error on debian woody kde 2.2.2)

2002-07-28 Thread Mark Purcell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gerhard,

Sorry about my last advice.  It seems that getting QT OpenGL support, KDE2 and 
QT2, under Debian is not going to be straight forward process, due to the way 
these packages have been complied to work together... I think you could get 
it to work, but that would involve recompiling most of those binary packages 
before you even get to work with kpovmodeller. It would also appear that this 
is a large part of the reason kpovmodeller has dumped QT Open GL requirement 
for later versions.

The good news however is that the KDE3 package is actually quite straight 
forward to build, even within Debian.  Of course this means you need KDE3 
installed according to http://calc.cx/kde.txt, which is something you said 
you wanted to avoid.

Anyway once you have KDE3 installed then to build the kpovmodeler-0.2 you will 
only need to have the following installed: glutg3-dev, libqt3-dev, 
kdelibs4-dev.

Or I have put together a quick and dirty .deb for the KDE3 version at 
http://people.debian.org/~msp/.  If there is enough interested I could tidy 
it up and install into the main archive for you (once KDE3 hits sid of 
course).

Mark



On Sun, 28 Jul 2002 12:05, gerhard wrote:
> Hi Mark,
>
> Am Sonntag, 28. Juli 2002 03:23 schrieb Mark Purcell:
> > libqt-gl-dev
>
> Thank you for the proposal to use the apt-get option build-dep
>
> debian:/home/gerhard/download/kpovmodeler/kpovmodeler-0.1.1#
> apt-get build-dep libqt-gl-dev
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following NEW packages will be installed:
>   byacc
> 0 packages upgraded, 1 newly installed, 0 to remove and 36  not
> upgraded.
> 3 packages not fully installed or removed.
> Need to get 30.8kB of archives. After unpacking 147kB will be used.
> Do you want to continue? [Y/n]
>
> Unfortunately I got no success :(
>
> debian:/home/gerhard/download/kpovmodeler/kpovmodeler-0.1.1# tail
> config.log
> [...]
> configure:8011: checking for the Qt OpenGL extension
> configure:8040: /bin/sh ./libtool --silent --mode=link g++ -o
> conftest -O2 -fno-exceptions -fno-check-new
> -I/usr/local/kde/include -I/usr/include/qt -I/usr/X11R6/include
> -L/usr/X11R6/lib -L/usr/lib  conftest.C  -lkdecore -lqt -lpng -lz
> -lm -ljpeg  -lXext -lX11 -lSM -lICE  -ldnet  1>&5
> /tmp/ccks0tEV.o: In function `main':
> /tmp/ccks0tEV.o(.text+0x23): undefined reference to
> `QGLWidget::QGLWidget(QWidget *, char const *, QGLWidget const *,
> unsigned int)'
> collect2: ld returned 1 exit status
>
> ciao
>
> gerhard
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9Q9TkoCzanz0IthIRApBMAJ4uspgTNy8oOnqZRvNc4LrQPreFHwCfTyEZ
/p2KsB5XPSiBB+c34sk7Od0=
=ZwNG
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: configure error on debian woody kde 2.2.2

2002-07-27 Thread gerhard
Hi Mark,

Am Sonntag, 28. Juli 2002 03:23 schrieb Mark Purcell:
> libqt-gl-dev

Thank you for the proposal to use the apt-get option build-dep

debian:/home/gerhard/download/kpovmodeler/kpovmodeler-0.1.1#  
apt-get build-dep libqt-gl-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  byacc
0 packages upgraded, 1 newly installed, 0 to remove and 36  not 
upgraded.
3 packages not fully installed or removed.
Need to get 30.8kB of archives. After unpacking 147kB will be used.
Do you want to continue? [Y/n]

Unfortunately I got no success :(

debian:/home/gerhard/download/kpovmodeler/kpovmodeler-0.1.1# tail 
config.log
[...]
configure:8011: checking for the Qt OpenGL extension
configure:8040: /bin/sh ./libtool --silent --mode=link g++ -o 
conftest -O2 -fno-exceptions -fno-check-new 
-I/usr/local/kde/include -I/usr/include/qt -I/usr/X11R6/include
-L/usr/X11R6/lib -L/usr/lib  conftest.C  -lkdecore -lqt -lpng -lz 
-lm -ljpeg  -lXext -lX11 -lSM -lICE  -ldnet  1>&5
/tmp/ccks0tEV.o: In function `main':
/tmp/ccks0tEV.o(.text+0x23): undefined reference to 
`QGLWidget::QGLWidget(QWidget *, char const *, QGLWidget const *, 
unsigned int)'
collect2: ld returned 1 exit status

ciao

gerhard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: configure error on debian woody kde 2.2.2

2002-07-27 Thread Mark Purcell
On Sun, Jul 28, 2002 at 02:35:44AM +0200, gerhard wrote:
> What Kind of Qt version in debian supports the OpenGL extension?
> I don't want to update now to KDE 3.1alpha to install 
> KPovModeler 0.2

I would suggest you also install the libqt-gl-dev package.

A good way to ensure you have all the dependancies installed is
to use apt-get build-dep

# apt-get build-dep libqt-gl-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  libpng-dev libqt3-dev libqt3-mt-dev
The following NEW packages will be installed:
  binutils-dev byacc libpng2-dev xlibmesa-dev
0 packages upgraded, 4 newly installed, 3 to remove and 1  not upgraded.
Need to get 1163kB of archives. After unpacking 26.1MB will be freed.
Do you want to continue? [Y/n]

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: configure error on debian woody kde 2.2.2

2002-07-27 Thread gerhard
Am Samstag, 27. Juli 2002 19:33 schrieb Thomas Ritter:
> Am Samstag, 27. Juli 2002 19:17 schrieb gerhard:
> > Sorry:
> > After apt-get install  kde-devel ./configure can find the
> > kde-headers now, but not the OpenGL headers, although libqt2
> > libqt-dev are the newest packets of my installation.
>
> AUTO-INSTALL MISSING LIBRARIES/HEADERS:
> ---
>
> Install auto-apt:
>   apt-get install auto-apt
> Update the auto-apt database:
>   auto-apt update ; auto-apt updatedb ; auto-apt update-local
>
> Go to your Source directory and execute:
>   auto-apt run ./configure
>
> or to build a debian package, run (in the source directory)
>   deb-make
> (package debmake, if you don't have it) and
>   auto-apt run debian/rules binary
>
> If configure tries to access any file you don't have on your
> system, but which is available in the repositories in your
> /etc/apt/sources.list, you will be prompted if you want to
> install that package.
> [...]

Thank you Thomas, but unfortunateley I got the same error message 
without prompting for any package to install at this point (before 
that point, auto-apt asked me to install some packages, who have 
been installed after confirmation without any problems - great 
experience: this little tool called 'auto-apt'. Thanx for the hint)

The error message:
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for GL/glut.h... yes
checking for GL/glx.h... yes
checking for the Qt OpenGL extension... no
configure: error: your system is not able to compile
an application that uses the Qt OpenGL extension!
Make sure the OpenGL headers are installed and Qt is compiled with 
OpenGL
support to compile kpovmodeler.
See the file REQUIREMENTS for further information.

debian:/home/gerhard/download/kpovmodeler/kpovmodeler-0.1.1# tail 
config.log
configure:8011: checking for the Qt OpenGL extension
configure:8040: /bin/sh ./libtool --silent --mode=link g++ -o 
conftest -O2 -fno-exceptions -fno-check-new 
-I/usr/local/kde/include -I/usr/include/qt -I/usr/X11R6/include
-L/usr/X11R6/lib -L/usr/lib  conftest.C  -lkdecore -lqt -lpng -lz 
-lm -ljpeg  -lXext -lX11 -lSM -lICE  -ldnet  1>&5
/tmp/cct5txLt.o: In function `main':
/tmp/cct5txLt.o(.text+0x23): undefined reference to 
`QGLWidget::QGLWidget(QWidget *, char const *, QGLWidget const *, 
unsigned int)'
collect2: ld returned 1 exit status

Andreas Zehnder wrote:
> 2) If there are linker errors "undefined reference to 
> QGLWidget::*" then you have all headers installed, 
> but your Qt version comes without the OpenGL extension. 
> Either you have to recompile Qt or update your KDE and 
> Qt version and download KPovModeler 0.2. 
> The 0.2 version does not require the extension.

I got beside other packets the these packages installed: 
glutg3-dev nvidia-glx nvidia-glx-dev x-window-system 
x-window-system-core xlibmesa-dev xlibmesa3

What Kind of Qt version in debian supports the OpenGL extension?
I don't want to update now to KDE 3.1alpha to install 
KPovModeler 0.2

What is the right mailinglist to ask further Question?

TIA

gerhard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: configure error on debian woody kde 2.2.2

2002-07-27 Thread John Gay
On Sat 27 Jul 2002 18:17, gerhard wrote:
> Am Samstag, 27. Juli 2002 18:01 schrieb gerhard:
> > Hi all,
> >
> > I'm a debian 3.0 woody user and cannot install kpovmodeler.
> > I receive the following error from the configure-script:
> >
> > checking for KDE... configure: error:
> > in the prefix, you've chosen, are no KDE headers installed. This
> > will fail.
> > [...]
>
> Sorry:
> After apt-get install  kde-devel ./configure can find the
> kde-headers now, but not the OpenGL headers, although libqt2
> libqt-dev are the newest packets of my installation.
>
> error:
>
> checking for the Qt OpenGL extension... no
> configure: error: your system is not able to compile
> an application that uses the Qt OpenGL extension!
> Make sure the OpenGL headers are installed and Qt is compiled with
> OpenGL
> support to compile kpovmodeler.
> See the file REQUIREMENTS for further information.
>
> debian:/home/gerhard/download/kpovmodeler/kpovmodeler-0.1.1#
> apt-get -t unstable -u install  libqt2 libqt-dev
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Sorry, libqt2 is already the newest version.
> Sorry, libqt-dev is already the newest version.
>
> debian:/home/gerhard/download/kpovmodeler/kpovmodeler-0.1.1#
> apt-cache search OpenGL glut glu glx
> libopengl-perl - Perl module to display 3D data using OpenGL, GLU,
> GLUT, and GLX
> debian:/home/gerhard/download/kpovmodeler/kpovmodeler-0.1.1#
> apt-get install libopengl-perl
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Sorry, libopengl-perl is already the newest version.
>
> How can I resolve the requirements of kpovmodeler? What are the
> libs and dev packets of OpenGL I'll need to compile it properly?
>
I can't speak for KPovModeler, but OpenGL is provided by Mesa on Linux. 
OpenGL is NOT free, but Mesa is supported by OpenGL and provides the same 
API's and development stuff. Have a look for Mesa and install that. After 
that, any other requirements for KPovModeler have to be found from the 
KPovModeler sources, and I don't understand C++ enough to begin to tell you 
where to look. The ./configure errors should give you clues as to what else 
is missing though.

> Requirements for KPovModeler
> 
>
> The program requires:
>
> - KDE-2.1.x with header files
>
> - Qt-2.3.x with header files
>
> - OpenGL, glut, glu, glx libraries and header files
>
> - The Qt OpenGL extension.
>
> I don't know the needed packets of OpenGL/qt, and apt-cache shows a
> bunch of hits, but which one fit's?
> Any clues?
>
> TIA
>
> gerhard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: configure error on debian woody kde 2.2.2

2002-07-27 Thread Thomas Ritter
Am Samstag, 27. Juli 2002 19:17 schrieb gerhard:
> Sorry:
> After apt-get install  kde-devel ./configure can find the
> kde-headers now, but not the OpenGL headers, although libqt2
> libqt-dev are the newest packets of my installation.

AUTO-INSTALL MISSING LIBRARIES/HEADERS:
---

Install auto-apt:
apt-get install auto-apt
Update the auto-apt database:
auto-apt update ; auto-apt updatedb ; auto-apt update-local

Go to your Source directory and execute:
auto-apt run ./configure

or to build a debian package, run (in the source directory)
deb-make 
(package debmake, if you don't have it) and
auto-apt run debian/rules binary

If configure tries to access any file you don't have on your system, but which 
is available in the repositories in your /etc/apt/sources.list, you will be 
prompted if you want to install that package.

This is not longer really kde-specific (merely generic package compilation), 
so please ask further questions on more generic mailing lists.

References:
- http://www.debian.org/doc/manuals/apt-howto/ch-search.en.html#s-auto-apt
- the file INSTALL in nearly any source package


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: configure error on debian woody kde 2.2.2

2002-07-27 Thread gerhard
Am Samstag, 27. Juli 2002 18:01 schrieb gerhard:
> Hi all,
>
> I'm a debian 3.0 woody user and cannot install kpovmodeler.
> I receive the following error from the configure-script:
>
> checking for KDE... configure: error:
> in the prefix, you've chosen, are no KDE headers installed. This
> will fail.
> [...]

Sorry:
After apt-get install  kde-devel ./configure can find the 
kde-headers now, but not the OpenGL headers, although libqt2 
libqt-dev are the newest packets of my installation.

error:

checking for the Qt OpenGL extension... no
configure: error: your system is not able to compile
an application that uses the Qt OpenGL extension!
Make sure the OpenGL headers are installed and Qt is compiled with 
OpenGL
support to compile kpovmodeler.
See the file REQUIREMENTS for further information.

debian:/home/gerhard/download/kpovmodeler/kpovmodeler-0.1.1# 
apt-get -t unstable -u install  libqt2 libqt-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, libqt2 is already the newest version.
Sorry, libqt-dev is already the newest version.

debian:/home/gerhard/download/kpovmodeler/kpovmodeler-0.1.1# 
apt-cache search OpenGL glut glu glx
libopengl-perl - Perl module to display 3D data using OpenGL, GLU, 
GLUT, and GLX
debian:/home/gerhard/download/kpovmodeler/kpovmodeler-0.1.1# 
apt-get install libopengl-perl
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, libopengl-perl is already the newest version.

How can I resolve the requirements of kpovmodeler? What are the 
libs and dev packets of OpenGL I'll need to compile it properly?

Requirements for KPovModeler


The program requires:

- KDE-2.1.x with header files

- Qt-2.3.x with header files

- OpenGL, glut, glu, glx libraries and header files

- The Qt OpenGL extension.

I don't know the needed packets of OpenGL/qt, and apt-cache shows a 
bunch of hits, but which one fit's?
Any clues?

TIA

gerhard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: configure error on debian woody kde 2.2.2

2002-07-27 Thread John Gay
On Sat 27 Jul 2002 17:01, gerhard wrote:
> Hi all,
>
> I'm a debian 3.0 woody user and cannot install kpovmodeler.
> I receive the following error from the configure-script:
>
> checking for KDE... configure: error:
> in the prefix, you've chosen, are no KDE headers installed. This
> will fail.
> So, check this please and use another prefix!
>
> How can I fix this ? What kind of prefix do I have to set ?
>
> whereis kde
> kde: /usr/include/kde
>
> KDEDIR=/usr/include/kde
> export KDEDIR
> Doesn't work neither
>
You need to install the kde-devel packages at least, to start. KDE by itself 
does not include the headers needed to compile KDE projects. You will 
probably need other development packages as well. I'm not sure what te 
kde-devel package will include.

> google finds nothing
>
> There is no debian packet:
>
> debian:/home/gerhard/download/kpovmodeler/kpovmodeler-0.1.1#
> apt-cache search kpovmodeler
> debian:/home/gerhard/download/kpovmodeler/kpovmodeler-0.1.1#
>
> Are there unofficial debian-packets ?
>
> TIA
>
> ciao
>
> gerhard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




configure error on debian woody kde 2.2.2

2002-07-27 Thread gerhard
Hi all,

I'm a debian 3.0 woody user and cannot install kpovmodeler.
I receive the following error from the configure-script:

checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This 
will fail.
So, check this please and use another prefix!

How can I fix this ? What kind of prefix do I have to set ?

whereis kde
kde: /usr/include/kde

KDEDIR=/usr/include/kde
export KDEDIR
Doesn't work neither

google finds nothing

There is no debian packet:

debian:/home/gerhard/download/kpovmodeler/kpovmodeler-0.1.1# 
apt-cache search kpovmodeler
debian:/home/gerhard/download/kpovmodeler/kpovmodeler-0.1.1#

Are there unofficial debian-packets ?

TIA

ciao

gerhard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]