From: jean-marc p. <jea...@gm...> - 2008-06-02 22:42:14
|
helo, I'm trying to compile vpython 3.2.9 on fedora 9 and I'm getting this error: g++ -I/usr/include/python2.5 -DHAVE_CONFIG_H -I../include -I..//include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -fpic -DPIC -g -O2 -ftemplate-depth-120 -g0 -c arrow.cpp -fPIC -DPIC -o .libs/arrow.o In file included from ../include/platform.h:108, from ../include/cvisual.h:11, from ../include/displaylist.h:9, from ../include/prim.h:9, from ../include/axial.h:9, from ../include/arrow.h:8, from arrow.cpp:5: ../include/platlinux.h:27: error: declaration of 'typedef class visual::lock<visual::mutex> visual::mutex::lock' ../include/vthread.h:13: error: changes meaning of 'lock' from 'class visual::lock<visual::mutex>' thanks for your help jmp |
From: Brad L. <bj...@nc...> - 2008-06-03 01:11:23
Attachments:
build.log
|
On Tue, 2008-06-03 at 00:42 +0200, jean-marc pouchoulon wrote: > helo, > > I'm trying to compile vpython 3.2.9 on fedora 9 and I'm getting this > error: > > g++ -I/usr/include/python2.5 -DHAVE_CONFIG_H -I../include > -I..//include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -fpic -DPIC -g -O2 -ftemplate-depth-120 -g0 -c > arrow.cpp -fPIC -DPIC -o .libs/arrow.o > In file included from ../include/platform.h:108, > from ../include/cvisual.h:11, > from ../include/displaylist.h:9, > from ../include/prim.h:9, > from ../include/axial.h:9, > from ../include/arrow.h:8, > from arrow.cpp:5: > ../include/platlinux.h:27: error: declaration of 'typedef class > visual::lock<visual::mutex> visual::mutex::lock' > ../include/vthread.h:13: error: changes meaning of 'lock' from 'class > visual::lock<visual::mutex>' > > thanks for your help > > jmp > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users JMP, I was rebuilding the rpms for vpython-3.2.9, gtkglarea, and gtkglarea-devel I made previously for an earlier version of Fedora to give to you when I got the same error. I have no idea what it means. I have attached my build.log in case there is anymore information in there. If anyone finds out what the error is let me know. To those who are interested in the rpms let me know and I will send them to anyone who asks. I will be making them noarch this time so it won't matter whether you try to install them on fedora 7,8, or 9. -- Brad Longo <bj...@nc...> Aerospace Engineering and Applied Mathematics North Carolina State University Raleigh, North Carolina USA |
From: brad l. <bj...@nc...> - 2008-06-21 16:13:08
|
Jaap Spies wrote: > Brad Longo wrote: > >> >> If anyone finds out what the error is let me know. To those who are >> interested in the rpms let me know and I will send them to anyone who >> asks. I will be making them noarch this time so it won't matter whether >> you try to install them on fedora 7,8, or 9. >> >> > > Sure I'm interested. Trying to build visual-4.beta2[4,6] > > On Fedora 8 I get a link failure: can not find -lboost_thread > > On Fedora 9 there are gcc-4.3 issues. > > Jaap > I've been trying to figure out since Fedora 8 came out and I have no idea how to fix it. I don't know anything about boost. I asked the people who develop boost what I should do, and the only thing they will tell you is how to alter your make file and stuff like that. I have no idea how that stuff works. Something must be different as to how vpython compiles on ubuntu vs fedora, although that makes no sense. I would say the easiest solution is to regenerate a config file and all that s |
From: Jaap S. <j....@hc...> - 2008-06-21 21:43:09
|
brad longo wrote: > I've been trying to figure out since Fedora 8 came out and I have no > idea how to fix it. I expect the same issue with boost on Fedora 9 as there is a missing libboost_thread, only libboost_thread-mt and friends. In FC7 there was libboost_thread.a and friends. > I don't know anything about boost. I asked the Me neither! I don't want to know, but VPython depends on it. Bad design :)? > people who develop boost what I should do, and the only thing they will > tell you is how to alter your make file and stuff like that. I have no > idea how that stuff works. Something must be different as to how > vpython compiles on ubuntu vs fedora, although that makes no sense. I > would say the easiest solution is to regenerate a config file and all that s > Maybe somebody in the VPython community can pick this up? Jaap |
From: Bruce S. <Bru...@nc...> - 2008-06-22 19:38:32
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> It's not a bad design to use Boost libraries, since they are considered the best supported tools for connecting between Python and C++. They are a well-supported extension to the C++ standard libraries, and they contain possible candidates for future inclusion in the standard libraries. It's the responsibility of each Linux distribution to provide these libraries, as many applications depend on them. If the Boost libraries are defective or incomplete, the place to complain is wherever there are discussions of the provided packages on a particular Linux distribution. <br> <br> Of course it is possible that there's something wrong with the Visual build procedure, so it isn't certain that the Fedora 9 Boost libraries are defective. But it's a possible diagnosis, since compilation works on other Linux distributions.<br> <br> Bruce Sherwood<br> <br> Jaap Spies wrote: <blockquote cite="mid:485...@hc..." type="cite"> <pre wrap="">brad longo wrote: </pre> <blockquote type="cite"> <pre wrap="">I've been trying to figure out since Fedora 8 came out and I have no idea how to fix it. </pre> </blockquote> <pre wrap=""><!----> I expect the same issue with boost on Fedora 9 as there is a missing libboost_thread, only libboost_thread-mt and friends. In FC7 there was libboost_thread.a and friends. </pre> <blockquote type="cite"> <pre wrap="">I don't know anything about boost. I asked the </pre> </blockquote> <pre wrap=""><!----> Me neither! I don't want to know, but VPython depends on it. Bad design :)? </pre> <blockquote type="cite"> <pre wrap="">people who develop boost what I should do, and the only thing they will tell you is how to alter your make file and stuff like that. I have no idea how that stuff works. Something must be different as to how vpython compiles on ubuntu vs fedora, although that makes no sense. I would say the easiest solution is to regenerate a config file and all that s </pre> </blockquote> <pre wrap=""><!----> Maybe somebody in the VPython community can pick this up? Jaap ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. <a class="moz-txt-link-freetext" href="http://sourceforge.net/services/buy/index.php">http://sourceforge.net/services/buy/index.php</a> _______________________________________________ Visualpython-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Vis...@li...">Vis...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/visualpython-users">https://lists.sourceforge.net/lists/listinfo/visualpython-users</a> </pre> </blockquote> </body> </html> |
From: Jaap S. <j....@hc...> - 2008-06-26 15:45:20
|
Roger Fearick wrote: > I've just built visual-4.beta26 on Fedora 9 (having upgraded from Fedora 5). > > In order to do this I had to make a couple of changes: > > src/util/errors.cpp: > add > #include <cstdliv> > below other #includes. > Maybe you mean #include <cstdlib> :)? But this should be conditional because it is gcc-4.3 related. > src/Makefile: > add -mt to the boost libraries at line 201 (in all POSIX-like systems), so have: > the line: > $(GTHREAD_LIBS) -lboost_python-mt -lboost_thread-mt) > This one is more general. In Fedora 8 libboost_thread is missing too. I can build my experimental spkg in Sage on Fedora 9: real 2m21.192s user 1m37.912s sys 0m30.636s Successfully installed vpython-4.beta26 Now cleaning up tmp files. Making SAGE/Python scripts relocatable... Making script relocatable Finished installing vpython-4.beta26.spkg [jaap@paix sage-3.0.4.alpha0]$ Thanks! Jaap |
From: brad l. <bj...@nc...> - 2008-06-27 04:05:06
|
Jaap Spies wrote: > Roger Fearick wrote: > >> I've just built visual-4.beta26 on Fedora 9 (having upgraded from Fedora 5). >> >> In order to do this I had to make a couple of changes: >> >> src/util/errors.cpp: >> add >> #include <cstdliv> >> below other #includes. >> >> > > Maybe you mean #include <cstdlib> :)? > > But this should be conditional because it is gcc-4.3 related. > > >> src/Makefile: >> add -mt to the boost libraries at line 201 (in all POSIX-like systems), so have: >> the line: >> $(GTHREAD_LIBS) -lboost_python-mt -lboost_thread-mt) >> >> > > This one is more general. In Fedora 8 libboost_thread is missing too. > > I can build my experimental spkg in Sage on Fedora 9: > > real 2m21.192s > user 1m37.912s > sys 0m30.636s > Successfully installed vpython-4.beta26 > Now cleaning up tmp files. > Making SAGE/Python scripts relocatable... > Making script relocatable > Finished installing vpython-4.beta26.spkg > [jaap@paix sage-3.0.4.alpha0]$ > > > Thanks! > > Jaap > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > :( no luck for me. I got the following errors when installing vpython-4.beta26 on Fedora 9: /usr/lib/gcc/i386-redhat-linux/4.3.0/../../../../include/c++/4.3.0/typeinfo:41: error: expected `}' before end of line 147 /usr/lib/gcc/i386-redhat-linux/4.3.0/../../../../include/c++/4.3.0/typeinfo:41: error: expected declaration before end of line I have contacted the fedora-devel team about this one ^^^ I got these errors after running make when installing vpython-3.2.9 on Fedora 9: In file included from ../include/displaylist.h:12, from ../include/prim.h:8, from ../include/axial.h:8, from ../include/arrow.h:7, from arrow.cpp:4: ../include/tmatrix.h: In copy constructor 'visual::tmatrix::tmatrix(const visual::tmatrix&)': ../include/tmatrix.h:25: error: 'memcpy' was not declared in this scope In file included from ../include/displaylist.h:16, from ../include/prim.h:8, from ../include/axial.h:8, from ../include/arrow.h:7, from arrow.cpp:4: ../include/display.h: At global scope: ../include/display.h:75: error: expected template-name before '<' token ../include/display.h:75: error: expected `{' before '<' token ../include/display.h:75: error: expected unqualified-id before '<' token arrow.cpp:241: error: expected `}' at end of input Does anyone have any ideas? -- Brad Longo North Carolina State University Aerospace Engineering/Applied Mathematics Raleigh, NC, USA cell: 862-266-7066 email: bj...@nc... |
From: Roger F. <Rog...@uc...> - 2008-06-27 06:59:53
|
> Jaap Spies wrote: >> Maybe you mean #include <cstdlib> :)? Ooops, :) >> >> But this should be conditional because it is gcc- 4.3 related. Well, cstdlib is the standard place where getenv is declared, so it should be ok (?). >>> On Fri, Jun 27, 2008 at 6:04 AM, in message <486...@nc...>, brad longo <bj...@nc...> wrote: > :( no luck for me. > > I got the following errors when installing vpython- 4.beta26 on Fedora 9: > /usr/lib/gcc/i386- redhat- linux/4.3.0/../../../../include/c++/4.3.0/typeinfo:41 > : > error: expected `}' before end of line > 147 > /usr/lib/gcc/i386- redhat- linux/4.3.0/../../../../include/c++/4.3.0/typeinfo:41 > : > error: expected declaration before end of line > > I have contacted the fedora- devel team about this one ^^^ > Hmmm. No idea -- can't even find typeinfo in build.log. Perhaps something is missing in your install. Roger. |
From: Jaap S. <j....@hc...> - 2008-06-27 15:00:28
|
Roger Fearick wrote: >> Jaap Spies wrote: > >>> Maybe you mean #include <cstdlib> :)? > Ooops, :) > >>> But this should be conditional because it is gcc- 4.3 related. > > Well, cstdlib is the standard place where getenv is declared, so it should be ok (?). > > Sure, this was meant for upstream use. The code should also work for gcc < 4.3. Jaap |