Ok so I finally got ./configure to work. What I did to get it to work is I went back to the gltt site and downloaded the rpm gltt-devel-2.5.2-2.i386.rpm instead of gltt-2.5.2-2.i386.rpm which I downloaded first time around . This file contained : libgltt.a libgltt.so libglttso.0 libgltt.so.0.0.0 libgltt.la The rpm installed them in /usr/lib and now ./configure appears to be working. Maybe it would be good to put this information in the Gem FAQ. Now the sad ending to this story is that "make" is not finishing or creating Gem.pd_linux . There are errors in compiling GemGluObj.cpp ie. GemGluObj.cpp: In method 'void GemGluObj::typeMess (t_symbol *)': GemGluObj.cpp:83: 'strcmp` undeclared (first use this function) GemGluObj.cpp:83: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: ***[GemGluObj.o] Error 1
etc.
Any thoughts on this one. Thanks again for all the help I've been getting with this. Jim
sorry Jim, i didn't notice you sent this to the list too
Jim Ruxton wrote:
working. Maybe it would be good to put this information in the Gem FAQ.
I'd prefer fixing the configure nevertheless
Now the sad ending to this story is that "make" is not finishing or creating Gem.pd_linux . There are errors in compiling GemGluObj.cpp ie. GemGluObj.cpp: In method 'void GemGluObj::typeMess (t_symbol *)': GemGluObj.cpp:83: 'strcmp` undeclared (first use this function) GemGluObj.cpp:83: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: ***[GemGluObj.o] Error 1
etc.
Any thoughts on this one. Thanks again for all the help I've been getting with this.
put "#include <string.h>" on the top of all files where this happens.
please send me the names of all these files, so i can fix it (i get no errors on win32 and Debian)
mfg.cds.adr IOhannes
Ahhh!!!!!!!
This is the same problem I had with redhat. According to this the "strcopy" function is not found. As I recall you have to add:
#include<string.h>
to all the files that have a problem. In this case "GemGluObj.o"
There is another error you will get about "abs" being missing in which case you have to add:
#include<math.h>
Now this is all from memory so I hope its correct. If the kind person who sent me this info in the first place confirm or deny what I have said that would be great.
I did not have this problem using Debian, only redhat.
I did get it to compile with these modifications!
Good luck. Ben
On Mon, 11 Feb 2002, Jim Ruxton wrote:
Ok so I finally got ./configure to work. What I did to get it to work is I went back to the gltt site and downloaded the rpm gltt-devel-2.5.2-2.i386.rpm instead of gltt-2.5.2-2.i386.rpm which I downloaded first time around . This file contained : libgltt.a libgltt.so libglttso.0 libgltt.so.0.0.0 libgltt.la The rpm installed them in /usr/lib and now ./configure appears to be working. Maybe it would be good to put this information in the Gem FAQ. Now the sad ending to this story is that "make" is not finishing or creating Gem.pd_linux . There are errors in compiling GemGluObj.cpp ie. GemGluObj.cpp: In method 'void GemGluObj::typeMess (t_symbol *)': GemGluObj.cpp:83: 'strcmp` undeclared (first use this function) GemGluObj.cpp:83: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: ***[GemGluObj.o] Error 1
etc.
Any thoughts on this one. Thanks again for all the help I've been getting with this. Jim
hi,
I did not have this problem using Debian, only redhat.
I see a lot of anti-redhat messages of that kind on this list, but, as the man page from redhat says :
#include <math.h>
int abs( int )
So, redhat's not faulty there.
#include <myopinion.h>
i'm curious of what man page says on debian, because abs IS a math function.
#endif
bye,
Yves/
Sorry, i got confused by previous post from Ben.
After checking my Redhat partition, it' s sqrt which belongs to math.h, abs is included in stdlib.h ( on redhat ).
More generally speaking, when a function is missing, don't forget the RTFM method, where M stands for "Man page".
cheers,
Yves/ ----- Original Message ----- From: Yves Degoyon To: Ben Bogart - FMPM/F1999 ; Jim Ruxton Cc: pd-list Sent: Tuesday, February 12, 2002 12:51 AM Subject: Re: [PD] Trying to configure Gem under Linux ... gltt not available
hi,
I did not have this problem using Debian, only redhat.
I see a lot of anti-redhat messages of that kind on this list, but, as the man page from redhat says :
#include <math.h>
int abs( int )
So, redhat's not faulty there.
#include <myopinion.h>
i'm curious of what man page says on debian, because abs IS a math function.
#endif
bye,
Yves/
Yves Degoyon wrote:
hi,
I did not have this problem using Debian, only redhat.
I see a lot of anti-redhat messages of that kind on this list, but, as the man page from redhat says :
#include <math.h>
int abs( int )
So, redhat's not faulty there.
#include <myopinion.h>
i'm curious of what man page says on debian, because abs IS a math function.
#ifndef MY_OPINION
"man abs" says :: #include <stdlib.h>
i agree that "abs" is a math-function AND that strcmp is a string-function. So they will be included in future Gem-releases
#endif /* !MY_OPINION */
#endif
bye,
Yves/
mgf-.c.tfr IOhannes
Thanks everyone who has helped me with this. Gem is now running fine under Linux. The only problems I had testing out the examples is that I couldn't load models (which is no big deal) and pix_movie isn't supported. Now away I go to try and load new drivers for my midi interface. Jim
Jim Ruxton wrote:
Thanks everyone who has helped me with this. Gem is now running fine under Linux. The only problems I had testing out the examples is that I couldn't load models (which is no big deal) and pix_movie isn't supported. Now away I go to try and load new drivers for my midi interface. Jim
the next release (expected in about 1 week) will provide wavefront-model-loading and movies (at leas Mpeg2 and quicktime) under linux. and i am working on firewire but have no hw to test right now....
mfg.,cd.sadf IOhannes
the next release (expected in about 1 week) will provide wavefront-model-loading and movies (at leas Mpeg2 and quicktime) under linux. and i am working on firewire but have no hw to test right now....
Thanks ! This is a dream come true. Jim