tigital(tigital@mac.com)@2002.08.11 18:24:00 +0000:
============================================================ reading startup file: /home/buggs/.pdrc GEM: Mark Danks GEM: ver: 0.84-5 GEM: compiled: Aug 11 2002
...well right here I'd say you need to get version 0.87, then try and see how compiling that works...
i rewrote the package so it fetches 0.87, now it won't compile, because it won't find libmpeg3, because [i guess] its detection is severly commented out, because there's apparently no libmpeg3 in debian (right?).
on the other hand there is libmpeg3 on my machine, that's why [i guess] configure gets confused...
it's a bit of a bug report then. i'm gonna try to uncomment those lines and compile gem and see what will happen.
Artem Baguinski(artm@nerve.v2.nl)@2002.08.12 01:12:17 +0000:
...well right here I'd say you need to get version 0.87, then try and see how compiling that works...
i rewrote the package so it fetches 0.87, now it won't compile, because it won't find libmpeg3, because [i guess] its detection is severly commented out, because there's apparently no libmpeg3 in debian (right?).
on the other hand there is libmpeg3 on my machine, that's why [i guess] configure gets confused...
it's a bit of a bug report then. i'm gonna try to uncomment those lines and compile gem and see what will happen.
configure buys it and make complains later
after comments, what does it do there, and it is unfinished (no backtick in the end). and also couple of times AC_ARG_WITH with second parameter " ", results in weird strings in the beginning of configure, bash complains, but it doesnt do any harm.
detection) PREFIX is hard coded, should be PREFIX=@prefix@
after fixing all that i have the same old misbehaviour:
======================================================================= reading startup file: /home/buggs/.pdrc GEM: IOhannes m zmoelnig GEM: ver: 0.87 GEM: compiled: Aug 12 2002 audio I/O error history: seconds ago error type error: GEM: Unable to create single buffer window error: GEM: Error creating const context error: GEM: A serious error occured creating const Context error: GEM: Do not continue! MAN: create window GEM: Start rendering GEM: Stop rendering pd_gui: pd process exited Segmentation fault =======================================================================
Artem Baguinski(artm@nerve.v2.nl)@2002.08.12 03:24:53 +0000:
- there is config.cache in the package, with old paths inside,
configure buys it and make complains later
- there are non-critical typos in configure.in, like the first line
after comments, what does it do there, and it is unfinished (no backtick in the end). and also couple of times AC_ARG_WITH with second parameter " ", results in weird strings in the beginning of configure, bash complains, but it doesnt do any harm.
- in Makefile.in (i had to do autoconf myself to restore libmpeg3
detection) PREFIX is hard coded, should be PREFIX=@prefix@
/doc/5.reference/Gem because objects try to search it there. patch will be:
diff -ur gem-0.87.orig/src/Gnu/Makefile.in gem-0.87/src/Gnu/Makefile.in --- gem-0.87.orig/src/Gnu/Makefile.in Wed Apr 17 16:21:58 2002 +++ gem-0.87/src/Gnu/Makefile.in Mon Aug 12 03:16:36 2002 @@ -65,8 +65,8 @@ install -d $(DESTDIR)/$(PREFIX)/$(DOCBASE)/gem install -m644 ../../doc/* $(DESTDIR)/$(PREFIX)/$(DOCBASE)/gem
install -d $(DESTDIR)/$(PDLIBDIR)/doc/5.reference
install -m644 ../../help/* $(DESTDIR)/$(PDLIBDIR)/doc/5.reference
install -d $(DESTDIR)/$(PDLIBDIR)/doc/5.reference/Gem
install -m644 ../../help/* $(DESTDIR)/$(PDLIBDIR)/doc/5.reference/Gem
cp -r ../../examples $(DESTDIR)/$(PREFIX)/$(DOCBASE)/gem cp -r ../../manual $(DESTDIR)/$(PREFIX)/$(DOCBASE)/gem
I think the behaviour you get (the segfault) is indeed a XServer problem. I am planning to investigate it over the next week. Then, I have put gem into the pure-data CVS, where I am currently reworking the build system.
I am of course inviting everyone who is interested to help on improving the situation, and later, when Johannes will have set up his CVS we can send him the patches.
Guenter
On Mon, 12 Aug 2002, Artem Baguinski wrote:
Artem Baguinski(artm@nerve.v2.nl)@2002.08.12 03:24:53 +0000:
- there is config.cache in the package, with old paths inside,
configure buys it and make complains later
- there are non-critical typos in configure.in, like the first line
after comments, what does it do there, and it is unfinished (no backtick in the end). and also couple of times AC_ARG_WITH with second parameter " ", results in weird strings in the beginning of configure, bash complains, but it doesnt do any harm.
- in Makefile.in (i had to do autoconf myself to restore libmpeg3
detection) PREFIX is hard coded, should be PREFIX=@prefix@
- another one: Gem obejcts documentation should go into
/doc/5.reference/Gem because objects try to search it there. patch will be:
diff -ur gem-0.87.orig/src/Gnu/Makefile.in gem-0.87/src/Gnu/Makefile.in --- gem-0.87.orig/src/Gnu/Makefile.in Wed Apr 17 16:21:58 2002 +++ gem-0.87/src/Gnu/Makefile.in Mon Aug 12 03:16:36 2002 @@ -65,8 +65,8 @@ install -d $(DESTDIR)/$(PREFIX)/$(DOCBASE)/gem install -m644 ../../doc/* $(DESTDIR)/$(PREFIX)/$(DOCBASE)/gem
install -d $(DESTDIR)/$(PDLIBDIR)/doc/5.reference
install -m644 ../../help/* $(DESTDIR)/$(PDLIBDIR)/doc/5.reference
install -d $(DESTDIR)/$(PDLIBDIR)/doc/5.reference/Gem
install -m644 ../../help/* $(DESTDIR)/$(PDLIBDIR)/doc/5.reference/Gem
cp -r ../../examples $(DESTDIR)/$(PREFIX)/$(DOCBASE)/gem cp -r ../../manual $(DESTDIR)/$(PREFIX)/$(DOCBASE)/gem
-- Artem Baguinski (http://www.artm.org/) V2_Lab - International Lab For the Unstable Media (http://www.v2.nl/V2_Lab/) Eendrachtsstraat 10 - 3012 XL Rotterdam
On Mon, 12 Aug 2002, [X-UNKNOWN] g�nter geiger wrote:
I think the behaviour you get (the segfault) is indeed a XServer problem.
.. wrong, forget that.
its what you suspected, there is an easy fix:
Guenter
*** src/Base/GemMan.cpp 2 Aug 2002 09:40:37 -0000 1.1.1.1 --- src/Base/GemMan.cpp 12 Aug 2002 13:52:17 -0000
*** 226,232 **** error("GEM: A serious error occured creating const Context"); error("GEM: Do not continue!"); } ! m_windowContext = 1; setResizeCallback(resizeCallback, NULL); }
--- 226,233 ---- error("GEM: A serious error occured creating const Context"); error("GEM: Do not continue!"); } ! else ! m_windowContext = 1; setResizeCallback(resizeCallback, NULL); }
*** 920,926 ****
// reestablish the const glxContext
#ifdef unix // for Unix ! glXMakeCurrent(constInfo.dpy, constInfo.win, constInfo.context); #elif _WINDOWS // for Windows wglMakeCurrent(constInfo.dc, constInfo.context); s_windowRun = 0; --- 921,928 ----
// reestablish the const glxContext
#ifdef unix // for Unix ! if (m_windowContext) ! glXMakeCurrent(constInfo.dpy, constInfo.win, constInfo.context); #elif _WINDOWS // for Windows wglMakeCurrent(constInfo.dc, constInfo.context); s_windowRun = 0;