|
From: clayton c. <dr...@sm...> - 2001-08-08 18:11:19
|
hey all i keep getting errors trying to compile spidermonkey ive tried versions js-1.5-rc2.tar.gz js-1.5-rc3.tar.gz js-1.5-rc3a.tar.gz and i get s_ldexp.c: In function `fd_ldexp': s_ldexp.c:59: `ERANGE' undeclared (first use in this function) s_ldexp.c:59: (Each undeclared identifier is reported only once s_ldexp.c:59: for each function it appears in.) gmake: *** [Linux_All_DBG.OBJ/s_ldexp.o] Error 1 any hints appreciated! |
|
From: clayton c. <dr...@sm...> - 2001-08-08 18:18:14
|
clayton cottingham wrote: > > hey all i keep getting errors trying to compile spidermonkey > > ive tried > versions > js-1.5-rc2.tar.gz > js-1.5-rc3.tar.gz > js-1.5-rc3a.tar.gz > > and i get > s_ldexp.c: In function `fd_ldexp': > s_ldexp.c:59: `ERANGE' undeclared (first use in this function) > s_ldexp.c:59: (Each undeclared identifier is reported only once > s_ldexp.c:59: for each function it appears in.) > gmake: *** [Linux_All_DBG.OBJ/s_ldexp.o] Error 1 > > any hints appreciated! > > _______________________________________________ > Openvrml-develop mailing list > Ope...@li... > http://lists.sourceforge.net/lists/listinfo/openvrml-develop ok just tried on my home machine there is something funky with my werk machine! |
|
From: Diana G. <dia...@nr...> - 2001-08-08 18:59:15
|
Ok, so I have openVRML and I have spent the last two days reading over the code and trying to figure it out. The documentation is horrible! But on the otherhand the code seems good. I think documentation should become a priority, the code is too deep for just tracing your way through it. Anyway besides the point, I would like to use these libraries to program with VRML. Almost like using performer. I want the ability to trace the scene graph, manipulate nodes, and add in features. Does anyone have any example programs of using these libraries for anything besides a viewer? Thanks in advance for your help. |
|
From: clayton c. <dr...@sm...> - 2001-08-08 19:10:28
|
Diana Garroway wrote: > > Ok, so I have openVRML and I have spent the last two days reading over the > code and trying to figure it out. > The documentation is horrible! But on the otherhand the code seems good. I > think documentation should become a priority, the code is too deep for just > tracing your way through it. > > Anyway besides the point, I would like to use these libraries to program > with VRML. Almost like using performer. I want the ability to trace the > scene graph, manipulate nodes, and add in features. > Does anyone have any example programs of using these libraries for anything > besides a viewer? > > Thanks in advance for your help. > > _______________________________________________ > Openvrml-develop mailing list > Ope...@li... > http://lists.sourceforge.net/lists/listinfo/openvrml-develop if i remember correctly i think www.fakespace.com was using this code for their cave enviros |
|
From: Braden M. <br...@en...> - 2001-08-08 19:43:01
|
On 08 Aug 2001 15:04:14 -0400, Diana Garroway wrote: > Ok, so I have openVRML and I have spent the last two days reading over the > code and trying to figure it out. > The documentation is horrible! But on the otherhand the code seems good. I > think documentation should become a priority, the code is too deep for just > tracing your way through it. > > Anyway besides the point, I would like to use these libraries to program > with VRML. Almost like using performer. I want the ability to trace the > scene graph, manipulate nodes, and add in features. > Does anyone have any example programs of using these libraries for anything > besides a viewer? > > Thanks in advance for your help. Yes, the docs suck. But since I'm working on rearchitecture, improving them is not a high priority. Most of the stuff I've touched in the API now has Doxygen comments, though that's really only a first step toward decent documentation. Sane docs will be a high priority once the new node architecture is in place. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |
|
From: clayton c. <dr...@sm...> - 2001-08-08 19:31:00
|
one question: how does one install spidermonkey libs i also see a prob with openvrml is always looking for libmozjs.so when the lib , from js-1.5-rc3a is called libjs.so is this true? or am i missing a step with the install? im assuming im just supposed to cp LINUX_All_OPT.OBJ/ to /usr/local/lib/ ?? any help appreciated |
|
From: Braden M. <br...@en...> - 2001-08-08 19:47:58
|
On 08 Aug 2001 12:32:58 -0700, clayton cottingham wrote: > one question: > > how does one install spidermonkey libs The easiest way is just to install Mozilla. > i also see a prob with openvrml is always looking for libmozjs.so > when the lib , from js-1.5-rc3a is called libjs.so "libjs" is the name of the library created by the "reference build" for SpiderMonkey. The Mozilla build, however, creates "libmozjs". There's no technical reason that we couldn't build against "libjs", other than the fact that OpenVRML's build scripts aren't currently set up to accommodate this. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |
|
From: clayton c. <dr...@sm...> - 2001-08-08 20:00:46
|
Braden McDaniel wrote: > > On 08 Aug 2001 12:32:58 -0700, clayton cottingham wrote: > > one question: > > > > how does one install spidermonkey libs > > The easiest way is just to install Mozilla. > ok i followed the readme to the mozilla.org/js and have been trying all that i guess ill install mozilla > > i also see a prob with openvrml is always looking for libmozjs.so > > when the lib , from js-1.5-rc3a is called libjs.so > > "libjs" is the name of the library created by the "reference build" for > SpiderMonkey. The Mozilla build, however, creates "libmozjs". There's no > technical reason that we couldn't build against "libjs", other than the > fact that OpenVRML's build scripts aren't currently set up to > accommodate this. > > -- > Braden McDaniel e-mail: <br...@en...> > <http://endoframe.com> Jabber: <br...@ja...> > > _______________________________________________ > Openvrml-develop mailing list > Ope...@li... > http://lists.sourceforge.net/lists/listinfo/openvrml-develop |
|
From: clayton c. <dr...@sm...> - 2001-08-08 20:14:41
|
clayton cottingham wrote: > > Braden McDaniel wrote: > > > > On 08 Aug 2001 12:32:58 -0700, clayton cottingham wrote: > > > one question: > > > > > > how does one install spidermonkey libs > > > > The easiest way is just to install Mozilla. > > > > ok i followed the readme to the mozilla.org/js > > and have been trying all that > i guess ill install mozilla > did this and im still getting cant find libmozjs.so whats up? i tried ldconfig setting to /usr/local/mozilla ./configure --with-mozjs=/usr/local/mozilla then i tried linking to libmozjs.so from /usr/local/lib then i tried copying over the libmozjs.so to there and to /usr/lib too the configure script cant find it!! what could i be doing wrong? |
|
From: clayton c. <dr...@sm...> - 2001-08-08 20:21:15
|
clayton cottingham wrote: > > clayton cottingham wrote: > > > > Braden McDaniel wrote: > > > > > > On 08 Aug 2001 12:32:58 -0700, clayton cottingham wrote: > > > > one question: > > > > > > > > how does one install spidermonkey libs > > > > > > The easiest way is just to install Mozilla. > > > > > > > ok i followed the readme to the mozilla.org/js > > > > and have been trying all that > > i guess ill install mozilla > > > > did this and im still getting cant find libmozjs.so > > whats up? > > i tried > > ldconfig setting to /usr/local/mozilla > > ./configure --with-mozjs=/usr/local/mozilla > > then i tried linking to libmozjs.so from /usr/local/lib > > then i tried copying over the libmozjs.so to there and to /usr/lib too > > the configure script cant find it!! > > what could i be doing wrong? > i think i found an error in the config log it looks for mozilla/jsapi.h no such file or directory!! which i cant see anywhere in the mozilla install dir so im cvs in the mozilla/js again to enable that > _______________________________________________ > Openvrml-develop mailing list > Ope...@li... > http://lists.sourceforge.net/lists/listinfo/openvrml-develop |
|
From: Braden M. <br...@en...> - 2001-08-08 20:47:31
|
On 08 Aug 2001 13:23:02 -0700, clayton cottingham wrote: > i think i found an error in the config log > > > it looks for mozilla/jsapi.h > > no such file or directory!! > > which i cant see anywhere in the mozilla install dir > > so im cvs in the mozilla/js again to enable that The header file is typically included in a "mozilla-devel" package if you use RPMs. mozilla.org, unfortunately, has done a less-than-exemplary job of establishing standard installation locations for things like header files, and OpenVRML's configure script is biased toward the decisions Red Hat has made for its RPM packages. Patches to support other schemes are welcome, as long as they don't break what's currently working. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |
|
From: S.K.Bose <bo...@pa...> - 2001-08-09 04:35:04
|
On 8 Aug 2001, Braden McDaniel wrote: > On 08 Aug 2001 13:23:02 -0700, clayton cottingham wrote: > > i think i found an error in the config log > > > > > > it looks for mozilla/jsapi.h > > > > no such file or directory!! > > > > which i cant see anywhere in the mozilla install dir > > > > so im cvs in the mozilla/js again to enable that > > The header file is typically included in a "mozilla-devel" package if > you use RPMs. mozilla.org, unfortunately, has done a less-than-exemplary > job of establishing standard installation locations for things like > header files, and OpenVRML's configure script is biased toward the > decisions Red Hat has made for its RPM packages. Patches to support > other schemes are welcome, as long as they don't break what's currently > working. Why don't make include directory "jsapi.h" instead "mozilla/jsapi.h" in VrmlNodeScript.cpp? I hope it is more logical like other libs. Bose |
|
From: Braden M. <br...@en...> - 2001-08-09 05:46:09
|
On 09 Aug 2001 10:06:29 +0530, S.K.Bose wrote: > > > On 8 Aug 2001, Braden McDaniel wrote: > > > On 08 Aug 2001 13:23:02 -0700, clayton cottingham wrote: > > > i think i found an error in the config log > > > > > > > > > it looks for mozilla/jsapi.h > > > > > > no such file or directory!! > > > > > > which i cant see anywhere in the mozilla install dir > > > > > > so im cvs in the mozilla/js again to enable that > > > > The header file is typically included in a "mozilla-devel" package if > > you use RPMs. mozilla.org, unfortunately, has done a less-than-exemplary > > job of establishing standard installation locations for things like > > header files, and OpenVRML's configure script is biased toward the > > decisions Red Hat has made for its RPM packages. Patches to support > > other schemes are welcome, as long as they don't break what's currently > > working. > > Why don't make include directory "jsapi.h" instead "mozilla/jsapi.h" in > VrmlNodeScript.cpp? I hope it is more logical like other libs. Yes, that's probably the Right Thing. I'll need to do some tweaking to the autoconf macro that looks for the header, first. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |
|
From: clayton c. <dr...@sm...> - 2001-08-08 22:37:43
|
Braden McDaniel wrote: > > On 08 Aug 2001 13:23:02 -0700, clayton cottingham wrote: > > i think i found an error in the config log > > > > > > it looks for mozilla/jsapi.h > > > > no such file or directory!! > > > > which i cant see anywhere in the mozilla install dir > > > > so im cvs in the mozilla/js again to enable that > > The header file is typically included in a "mozilla-devel" package if > you use RPMs. mozilla.org, unfortunately, has done a less-than-exemplary > job of establishing standard installation locations for things like > header files, and OpenVRML's configure script is biased toward the > decisions Red Hat has made for its RPM packages. Patches to support > other schemes are welcome, as long as they don't break what's currently > working. > crazy! im using mandrake 7.2 here and the libstdc is all screwy i thought i could get away doing a rpm --nodeps but it dont like it sigh... i wish there must be an easier path to compile here > -- > Braden McDaniel e-mail: <br...@en...> > <http://endoframe.com> Jabber: <br...@ja...> > > _______________________________________________ > Openvrml-develop mailing list > Ope...@li... > http://lists.sourceforge.net/lists/listinfo/openvrml-develop |
|
From: Gerall K. <ge...@ch...> - 2001-08-08 23:19:24
|
<snip> > > > it looks for mozilla/jsapi.h > > > > > > no such file or directory!! > > > You'll have to install the developer's version to get the headers. If this happens, and the code lives under /usr/local/mozilla, you can add /usr/local/mozilla/include to these environmental variables: C_INCLUDE_PATH -- for the C compiler CPLUS_INCLUDE_PATH -- for the C++ compiler OBJC_INCLUDE_PATH -- for the Objective C compiler All the compilers in GCC *should* see them then. If there are any libraries included with the code, put /usr/local/mozilla/lib in your LD_LIBRARY_PATH or /etc/ld.so.conf and run 'ldconfig' as root. <snip> > i thought i could get away > doing a rpm --nodeps > > but it dont like it I've never encountered a person who hasn't been forced to use the --nodeps option with RPM from time to time. I don't prefer to use it, myself. Just my $0.02 USD... -- Gerall Kahla -- the Celestial Mechanic <URI:http://chromebob.com> homepage <URI:http://chromebob.com/public-key.asc> GnuPG public key |