POV-Ray : Newsgroups : povray.unix : KPOVModeler Server Time
28 Jul 2024 16:22:32 EDT (-0400)
  KPOVModeler (Message 7 to 16 of 16)  
<<< Previous 6 Messages Goto Initial 10 Messages
From: David F
Subject: Re: KPOVModeler
Date: 21 Jan 2002 01:28:33
Message: <3c4bb511@news.povray.org>
Content-Transfer-Encoding: 8Bit



Ken Cecka wrote:



> Can you post the contents of your config.log after configure fails?  I

> just resolved this problem on a mandrake install and in my case, QT really

> was built with opengl support, but I hadn't installed the devel package

> which

> provided the neccessary headers.  You should be able to see a bit better

> from config.log what is going on though.

> 



sure, I attached it



-- 



David

smuchrusher <at> ameritech <dot> net

ICQ#: 118347772



6:07pm up 4 days, 22 min, 1 user, load average: 0.45, 0.16, 0.05


Post a reply to this message


Attachments:
Download 'us-ascii' (22 KB)

From: Syed Imran
Subject: Re: KPOVModeler
Date: 21 Jan 2002 17:11:15
Message: <3C4C920D.3F4F32B3@massey.ac.nz>
Hello there,

I've collected all(hope i didnt miss any) errors from your output and listed here with
a few comments. How did you get the output, using &> error.log ??
Anyway, hope it helps.

__**********__
configure:2941: gcc -c -O2  conftest.c 1>&5
configure: In function `main':
configure:2937: `__CYGWIN32__' undeclared (first use in this function)
configure:2937: (Each undeclared identifier is reported only once
configure:2937: for each function it appears in.)
configure: failed program was:
#line 2930 "configure"

configure:2958: checking for mingw32 environment
configure:2970: gcc -c -O2  conftest.c 1>&5
configure: In function `main':
configure:2966: `__MINGW32__' undeclared (first use in this function)
configure:2966: (Each undeclared identifier is reported only once
configure:2966: for each function it appears in.)
configure: failed program was:
#line 2963 "configure"
__**********__

You can ignore the above part between the __**********__  I do not know why it is
checking for cygwin32 and mingw32 as I always thought those were for windoze.

ltconfig:1976: checking whether a statically linked program can dlopen itself
ltconfig:2031: gcc -o conftest -O2 -fno-builtin -fno-rtti -fno-exceptions 
-DHAVE_DLFCN_H  -Wl,--export-dynamic -static conftest.c -ldl  1>&5
ltconfig: failed program was:
/*#line 1984 "ltconfig"*/

/* We may have to define LTDL_LAZY_OR_NOW in the command line if we
   find out it does not work in some platform. */

configure:3319: checking for main in -lcompat
configure:3334: gcc -o conftest -O2   conftest.c -lcompat   1>&5
/usr/i386-slackware-linux/bin/ld: cannot find -lcompat
collect2: ld returned 1 exit status
configure: failed program was:
#line 3327 "configure"

configure:3547: checking for dnet_ntoa in -ldnet
configure:3566: gcc -o conftest -O2   conftest.c -ldnet   1>&5
/usr/i386-slackware-linux/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 3555 "configure"

configure:3588: checking for dnet_ntoa in -ldnet_stub
configure:3607: gcc -o conftest -O2   conftest.c -ldnet_stub   1>&5
/usr/i386-slackware-linux/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 3596 "configure"

configure:3629: checking for inet_ntoa
configure:3657: gcc -o conftest -O2   conftest.c  1>&5
configure:3719: checking for connect
configure:3747: gcc -o conftest -O2   conftest.c  1>&5
configure:3810: checking for remove
configure:3838: gcc -o conftest -O2   conftest.c  1>&5
configure:3902: checking for shmat
configure:3930: gcc -o conftest -O2   conftest.c  1>&5
configure:3992: checking for res_init
configure:4020: gcc -o conftest -O2   conftest.c  1>&5
/tmp/ccX1k2ax.o: In function `main':
/tmp/ccX1k2ax.o(.text+0x7): undefined reference to `res_init'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3997 "configure"

configure:4038: checking for res_init in -lresolv
configure:4057: gcc -o conftest -O2   conftest.c -lresolv   1>&5
/tmp/ccqSXYc1.o: In function `main':
/tmp/ccqSXYc1.o(.text+0x7): undefined reference to `res_init'
collect2: ld returned 1 exit status
configure: failed program was:
#line 4046 "configure"

configure:4084: checking for killpg in -lucb
configure:4103: gcc -o conftest -O2   conftest.c -lucb   1>&5
/usr/i386-slackware-linux/bin/ld: cannot find -lucb
collect2: ld returned 1 exit status
configure: failed program was:
#line 4092 "configure"

configure:4370: checking for shl_unload in -ldld
configure:4389: gcc -o conftest -O2   conftest.c -ldld   1>&5
/usr/i386-slackware-linux/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
configure: failed program was:
#line 4378 "configure"

configure:4539: checking for X
configure:4578: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:4654: gcc -o conftest -O2   conftest.c -lXt  1>&5
/usr/i386-slackware-linux/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status
configure: failed program was:
#line 4647 "configure"

configure:5131: checking for libjpeg6b
configure:5169: gcc -o conftest -O2 -I/usr/X11R6/include    conftest.c
-L/usr/X11R6/lib  -ljpeg6b -lm 1>&5
/usr/i386-slackware-linux/bin/ld: cannot find -ljpeg6b
collect2: ld returned 1 exit status
configure: failed program was:
#line 5148 "configure"
#include "confdefs.h"

configure:5395: checking for Qt
tried NO
tried /usr/lib/qt/lib
tried /usr/lib/qt
tried /usr/lib/qt2/lib
tried /usr/lib/qt2
tried /usr/lib/qt/lib
tried /usr/lib/qt
tried /usr/X11R6/lib

configure:7069: checking for opendir in -ldir
configure:7088: gcc -o conftest -O2   conftest.c -ldir   1>&5
/usr/i386-slackware-linux/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 7077 "configure"

configure:7299: checking for sysent.h
configure:7309: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:7305: sysent.h: No such file or directory
configure: failed program was:
#line 7304 "configure"

configure:7339: checking for linux/tcp.h
configure:7349: gcc -E  conftest.c >/dev/null 2>conftest.out

uh.. why does kpovmodeler require tcp.h, I do not know ..

configure:7339: checking for sys/proc.h
configure:7349: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:7345: sys/proc.h: No such file or directory
configure: failed program was:
#line 7344 "configure"

configure:7552: checking for dl.h
configure:7562: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:7558: dl.h: No such file or directory
configure: failed program was:
#line 7557 "configure"

configure:7634: checking for fabsl
configure:7662: gcc -o conftest -O2   conftest.c  1>&5
configure:7646: warning: conflicting types for built-in function `fabsl'
/tmp/ccweKNZ7.o: In function `main':
/tmp/ccweKNZ7.o(.text+0x7): undefined reference to `fabsl'
collect2: ld returned 1 exit status
configure: failed program was:
#line 7639 "configure"

configure:7973: checking for GL/glut.h
configure:7983: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:7979: GL/glut.h: No such file or directory
configure: failed program was:
#line 7978 "configure"

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/opt/kde/include -I/usr/lib/qt/include
-I/usr/X11R6/include    -L/usr/X11R6/lib -L/opt/kde/lib  conftest.C  -lkdecore -lqt
-lpng -lz -lm -ljpeg  -lXext -lX11 -lSM -lICE   1>&5
conftest.C:4: GL/glut.h: No such file or directory

All errors are, I believe linker errors. Where it says cannot find -lxxxx its actually
trying to find libxxxx.a in the standard lib locations. Also from the last error you
do not seem to have glut installed. You can get glut source from http://www.opengl.org
or just get the Mesa-devel
package for your distribution of linux/unix.

Regards,
Imran


Post a reply to this message

From: Ken Cecka
Subject: Re: KPOVModeler
Date: 21 Jan 2002 22:02:04
Message: <3c4cd62c@news.povray.org>
Syed hit the nail on the head - the following line is the root of your 
problems:

conftest.C:4: GL/glut.h: No such file or directory

Basically this means you don't have glut installed, or at least you don't 
have the development files installed.  Not sure what the best way to get 
this is for slackware, but I found the following link while poking around 
on google:

http://distro.ibiblio.org/pub/Linux/distributions/slackware/contrib/contrib-sources/libglut-3.7/

There may be something more official somewhere, but I'm not familiar with 
Slackware packages and distributions.

Ken


David F wrote:

> Content-Transfer-Encoding: 8Bit
> 
> 
> 
> Ken Cecka wrote:
> 
> 
> 
>> Can you post the contents of your config.log after configure fails?  I
> 
>> just resolved this problem on a mandrake install and in my case, QT
>> really
> 
>> was built with opengl support, but I hadn't installed the devel package
> 
>> which
> 
>> provided the neccessary headers.  You should be able to see a bit better
> 
>> from config.log what is going on though.
> 
>> 
> 
> 
> 
> sure, I attached it
> 
> 
>


Post a reply to this message

From: Ken Cecka
Subject: Re: KPOVModeler
Date: 21 Jan 2002 22:04:11
Message: <3c4cd6ab@news.povray.org>
Syed Imran wrote:

> Hello there,
> 
> I've collected all(hope i didnt miss any) errors from your output and
> listed here with a few comments. How did you get the output, using &>
> error.log ?? Anyway, hope it helps.

I believe the config.log file is automatically generated by the configure 
script and gives a more detailed log of what the script is doing when/if it 
errors out.

Ken


Post a reply to this message

From: David F
Subject: Re: KPOVModeler
Date: 27 Jan 2002 22:17:09
Message: <3c54c2b5@news.povray.org>
Ken Cecka wrote:

> Syed hit the nail on the head - the following line is the root of your
> problems:
> 
> conftest.C:4: GL/glut.h: No such file or directory
> 

ok, I tried downloading it, and when I extracted it, and tryied compiling 
it, I don't get a file libglut.so.3.7, but it does generate a libglut.a   
Are these the same?  Can I just rename it, or should I figure out why it 
won't compile the library correctly.  Thanks

-- 

David
smuchrusher <at> ameritech <dot> net
ICQ#: 118347772

7:19pm up 4 days, 16:02, 0 users, load average: 1.27, 1.22, 1.09


Post a reply to this message

From: Peter Popov
Subject: Re: KPOVModeler
Date: 28 Jan 2002 07:08:23
Message: <ljfa5uo2hb859jlng2jq2mm193i5tu5pri@4ax.com>
On Sun, 27 Jan 2002 21:20:30 -0600, David F <smu### [at] ameritechnet>
wrote:

>ok, I tried downloading it, and when I extracted it, and tryied compiling 
>it, I don't get a file libglut.so.3.7, but it does generate a libglut.a   
>Are these the same?  Can I just rename it, or should I figure out why it 
>won't compile the library correctly.  Thanks

Err... isn't one static and the other dynamic? If that's the case, you
should configure it to do the reverse of what you're doing :)


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Warp
Subject: Re: KPOVModeler
Date: 28 Jan 2002 09:22:50
Message: <3c555eba@news.povray.org>
David F <smu### [at] ameritechnet> wrote:
: ok, I tried downloading it, and when I extracted it, and tryied compiling 
: it, I don't get a file libglut.so.3.7, but it does generate a libglut.a   
: Are these the same?  Can I just rename it

  No, you can't rename a '.a' file to a '.so' file. It's like trying to rename
a '.pdf' file to '.doc' (yes, they are both a document format, but completely
different).
  You can link the '.a' file to the program, but it links it statically (thus
increasing the size of the binary). Sometimes this is desirable, though (the
binary is not dependant on the exitense of the original library as it comes
inside the binary itself).
  The library you are building has probably some option to create the dynamic
version (ie the '.so' file), so try searching for it.
  There's also a way to convert a '.a' file to a '.so' file (IIRC it requires
extracting all the object files from inside the '.a' and then building the
'.so' from them). However, it *might* not always work (sometimes building
a dynamic library requires a special flag to the compiler which creates the
object files in such a way that they will work in a dynamic library, ie. the
compiler generates position-independent code, which is not necessary for a
statically linked library).

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Ken Cecka
Subject: Re: KPOVModeler
Date: 28 Jan 2002 20:56:22
Message: <3c560146@news.povray.org>
How did you build?  I was able to build the libglut.so.3.7 using the 
following steps:

- bzcat glut-3.7.tar.bz2 | tar xvf -
- cd glut-3.7
- less README
- less linux/README
- chmod +w Glut.cf
- cp linux/Glut.cf .
- ./mkmkfiles.imake
- cp linux/Makefile lib/glut
- cd lib/glut
- make

I'll note that the in my first attempt I skipped copying linux/Makefile, 
and when I built I got a .a file instead of a .so file.

Ken

David F wrote:

> Ken Cecka wrote:
> 
>> Syed hit the nail on the head - the following line is the root of your
>> problems:
>> 
>> conftest.C:4: GL/glut.h: No such file or directory
>> 
> 
> ok, I tried downloading it, and when I extracted it, and tryied compiling
> it, I don't get a file libglut.so.3.7, but it does generate a libglut.a
> Are these the same?  Can I just rename it, or should I figure out why it
> won't compile the library correctly.  Thanks
>


Post a reply to this message

From: David F
Subject: Re: KPOVModeler
Date: 31 Jan 2002 19:03:19
Message: <3c59db47$1@news.povray.org>
Ken Cecka wrote:


> I'll note that the in my first attempt I skipped copying linux/Makefile,
> and when I built I got a .a file instead of a .so file.
> 
> Ken
 
I think that was my problem.  I got the correct libraries built, but I'm 
still getting complaints from the configure script... I think this is going 
to be too much of a hassle to get this working.  I give up!

-- 

David
smuchrusher <at> ameritech <dot> net
ICQ#: 118347772

6:05pm up 1 day, 14:48, 0 users, load average: 0.33, 0.25, 0.16


Post a reply to this message

From: Ken Cecka
Subject: Re: KPOVModeler
Date: 5 Feb 2002 22:56:13
Message: <3c60a95d@news.povray.org>
In case you still want to try, your original problem with the configure 
script wasn't anything to do with the libraries - it just wanted to know 
wheter the headers were.  You can fix that by copying the headers into 
/usr/include or /usr/local/include or something like that.

Regarding KPovModeller itself, I think it's a bit early to expect much out 
of it.  I've been keeping an eye on it since it started, and may even jump 
in and try to contribute at some point, but it's still not far enough along 
that I would try to do anything too serious with it.

Ken

David F wrote:

> Ken Cecka wrote:
> 
> 
>> I'll note that the in my first attempt I skipped copying linux/Makefile,
>> and when I built I got a .a file instead of a .so file.
>> 
>> Ken
>  
> I think that was my problem.  I got the correct libraries built, but I'm
> still getting complaints from the configure script... I think this is
> going
> to be too much of a hassle to get this working.  I give up!
>


Post a reply to this message

<<< Previous 6 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.