Re: [Fink-users] [ping] Failed: phase compiling: xscreensaver-4.21 -1011 failed
Jean-François Mertens wrote: [] But sorry, have no 10.5, _ and for the moment not even my G5 _ to look further... Since the problem appears only for 10.5/ppc, and then apparently only with xcode-3.1, I am out of it, too. I only have access to 10.5/intel and 10.4/ppc, or with some effort to a 10.5/ppc with xcode-3.0, on which I cannot compile random Fink packages. The file flurry.c is compiled on intel, too, but differently. The code in question is in flurry.h: typedef union { float f[4]; #if __VEC__ vector floatv; #endif } floatToVector; What I can see is that the macro __VEC__, which triggers the fatal line, is defined by the compiler on 10.5/ppc, but not on 10.5/intel. To see this, try cpp -dM /dev/null |grep VEC One idea of a workaround would be to turn this piece of code off for everybody, by introducing a compiler flag -U__VEC__, for example in SetCPPFLAGS: SetCPPFLAGS: -I%p/lib/freetype219/include -U__VEC__ But, as I said, I cannot test this. -- Martin - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] [ping] Failed: phase compiling: xscreensaver-4.21 -1011 failed
Martin, Thanks for the answer. The file flurry.c is compiled on intel, too, but differently. Not on my macbook. I have a closer look and saw: ... config.status: executing default-2 commands # Note: The OpenGL 3D library was not found. More specifically, we found the headers, but not the libraries; so either GL is half-installed on this system, or something else went wrong. The `config.log' file might contain some clues. Those demos which use 3D will not be built or installed. You might want to consider installing OpenGL and re-running configure. If your vendor doesn't ship their own implementation of OpenGL, you can get a free version at http://www.mesa3d.org/. For general OpenGL info, see http://www.opengl.org/. # User programs will be installed in /sw/bin/ ... that does not appear on my G5. On the later I see: ... checking for glXCreateContext in -lGL... yes checking MesaGL version number... 6.3 checking for glBindTexture in -lGL... yes checking for GL/gle.h... no checking for GL/gutil.h... no ... instead of ... checking for glXCreateContext in -lGL... no ... on the macbook. SetCPPFLAGS: -I%p/lib/freetype219/include -U__VEC__ It does not help: ... gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -U__STRICT_ANSI__ -no-cpp-precomp -c -I. -I. -I./../../utils -I./.. -I../.. -I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/lib/fontconfig2/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/include -I/sw/include/pixman-1 -I/sw/include/libpng12 -I/sw/include/cairo -I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libxml2 -I/sw/include/libglade-2.0 -I/usr/X11R6/include -I/usr/X11/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/include -DSTANDALONE -DUSE_GL -DHAVE_CONFIG_H -g -O2 -I/sw/include -I/usr/X11/include flurry.c In file included from flurry.h:38, from flurry.c:96: /usr/X11R6/include/GL/glu.h:282: warning: function declaration isn't a prototype In file included from flurry.c:96: flurry.h:72: error: syntax error before 'vector' ... Note that -U__VEC__ does not show up. I also tried: SetCC: gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -U__STRICT_ANSI__ -U__VEC__ but the build fails quickly at: ... gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -U__STRICT_ANSI__ -U__VEC__ -Wall -c -I. -I. -I./../utils -I.. -I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/lib/fontconfig2/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/include -I/sw/include/pixman-1 -I/sw/include/libpng12 -I/sw/include/cairo -I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libxml2 -I/sw/include/libglade-2.0 -I/usr/X11R6/include -I/usr/X11/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/include -DHAVE_CONFIG_H -g -O2 -I/sw/include -I/usr/X11/include pdf2jpeg.m pdf2jpeg.m:16:2: warning: #import is a GCC extension pdf2jpeg.m: In function 'main': pdf2jpeg.m:78: error: syntax error before '/' token ... Dominique - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] [ping] Failed: phase compiling: xscreensaver-4.21 -1011 failed
Note that if I add manually -U__VEC__, flurry.c compiles: [karma] hacks/glx% sudo gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -U__STRICT_ANSI__ -U__VEC__ -no-cpp-precomp -c -I. -I. -I./../../utils -I./.. -I../.. -I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/lib/fontconfig2/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/include -I/sw/include/pixman-1 -I/sw/include/libpng12 -I/sw/include/cairo -I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libxml2 -I/sw/include/libglade-2.0 -I/usr/X11R6/include -I/usr/X11/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/include -DSTANDALONE -DUSE_GL -DHAVE_CONFIG_H -g -O2 -I/sw/include -I/usr/X11/include moebius.c In file included from moebius.c:105: /usr/X11R6/include/GL/glu.h:282: warning: function declaration isn't a prototype Dominique - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] [ping] Failed: phase compiling: xscreensaver-4.21 -1011 failed
Dominique Dhumieres wrote: [] gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -U__STRICT_ANSI__ -U__VEC__ -Wall -c -I. -I. -I./../utils -I.. -I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/lib/fontconfig2/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/include -I/sw/include/pixman-1 -I/sw/include/libpng12 -I/sw/include/cairo -I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libxml2 -I/sw/include/libglade-2.0 -I/usr/X11R6/include -I/usr/X11/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/include -DHAVE_CONFIG_H -g -O2 -I/sw/include -I/usr/X11/include pdf2jpeg.m pdf2jpeg.m:16:2: warning: #import is a GCC extension pdf2jpeg.m: In function 'main': pdf2jpeg.m:78: error: syntax error before '/' token Try to put OBJCC=gcc into the ConfigureParams, in addition to the SetCC line. -- Martin - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] [ping] Failed: phase compiling: xscreensaver-4.21 -1011 failed
Martin Costabel wrote: Dominique Dhumieres wrote: [] gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -U__STRICT_ANSI__ -U__VEC__ -Wall -c -I. -I. -I./../utils -I.. -I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/lib/fontconfig2/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/include -I/sw/include/pixman-1 -I/sw/include/libpng12 -I/sw/include/cairo -I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libxml2 -I/sw/include/libglade-2.0 -I/usr/X11R6/include -I/usr/X11/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/include -DHAVE_CONFIG_H -g -O2 -I/sw/include -I/usr/X11/include pdf2jpeg.m pdf2jpeg.m:16:2: warning: #import is a GCC extension pdf2jpeg.m: In function 'main': pdf2jpeg.m:78: error: syntax error before '/' token Try to put OBJCC=gcc into the ConfigureParams, in addition to the SetCC line. Doesn't work as intended, apparently; configure ignores this. The following 2 lines in xscreensave.info produce correct compiler lines for me; please try: SetCC: gcc -U__VEC__ PatchScript: perl -pi -e 's|(OBJCC=).*|$1\gcc -Wall\|' configure -- Martin - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] [ping] Failed: phase compiling: xscreensaver-4.21 -1011 failed
Try to put OBJCC=gcc into the ConfigureParams, in addition to the SetCC line. I have changed the info file to: ... Source-MD5: 3ea7d0bc9b7159523855296e175d7ac7 SetCC: gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -U__STRICT_ANSI__ -U__VEC__ SetCPPFLAGS: -I%p/lib/freetype219/include SetLDFLAGS: -L%p/lib/freetype219/lib ConfigureParams: --mandir=%p/share/man --libexecdir=%p/lib --without-pam --disable-dependency-tracking PKG_CONFIG_PATH=%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config OBJCC=gcc ... but the build still fails with pdf2jpeg.m. Dominique - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] [ping] Failed: phase compiling: xscreensaver-4.21 -1011 failed
The following 2 lines in xscreensave.info produce correct compiler lines for me; please try: SetCC: gcc -U__VEC__ PatchScript: perl -pi -e 's|(OBJCC=).*|$1\gcc -Wall\|' configure With ... SetLDFLAGS: -L%p/lib/freetype219/lib SetCC: gcc -U__VEC__ PatchScript: perl -pi -e 's|(OBJCC=).*|$1\gcc -Wall\|' configure ConfigureParams: --mandir=%p/share/man --libexecdir=%p/lib --without-pam --disable-dependency-tracking PKG_CONFIG_PATH=%p/lib/pango-ft219/l ... xscreensaver-4.21-1011 finally built on my G5. Thanks a lot for the fix. Dominique - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] [ping] Failed: phase compiling: xscreensaver-4.21 -1011 failed
Dominique Dhumieres wrote: The following 2 lines in xscreensave.info produce correct compiler lines for me; please try: SetCC: gcc -U__VEC__ PatchScript: perl -pi -e 's|(OBJCC=).*|$1\gcc -Wall\|' configure With ... SetLDFLAGS: -L%p/lib/freetype219/lib SetCC: gcc -U__VEC__ PatchScript: perl -pi -e 's|(OBJCC=).*|$1\gcc -Wall\|' configure ConfigureParams: --mandir=%p/share/man --libexecdir=%p/lib --without-pam --disable-dependency-tracking PKG_CONFIG_PATH=%p/lib/pango-ft219/l ... xscreensaver-4.21-1011 finally built on my G5. OK, I checked this into CVS now. No revision update (still 4.21-1011), because this doesn't change anything where it built before. -- Martin - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
[Fink-users] [ping] Failed: phase compiling: xscreensaver-4.21-1011 failed
Over a month ago I have posted http://www.mail-archive.com/fink-users@lists.sourceforge.net/msg28001.html The failure is still present and is blocking to install KDE or Gnome. Could someone have a look to the problem? As far as I can tell, configure try to install flurry (and probably others) only on ppc OSX 10.5.4 XCode 3.1 X11.2.2.3, but I don't understand why. TIA Dominique - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] [ping] Failed: phase compiling: xscreensaver-4.21 -1011 failed
Hello. It seems there is only 2 of us having that problem with some kind of similar configuration. Do you have G5 processor(s)? Did you ever backup /sw and restore? It is either related to g5 or using latest versions of tools. I even reported it to x11 maintainers as bug report. Response was it has nothing to do with apple x11. Xscreensaver is kind of a tool which was coded with x and unix in mind using their portability. That is why failure is particularly interesting. I have even duplicated the .info to local and changed it to use latest version. Good news is it builds all fine. Bad news is it still fail on flurry.c. On the other hand on 10.4.11 and xcode 2.5 on exact same machine problem doesn't exist. Same goes for g4 mini running all current os x and developer tools. Hence i think it could be something with processor or a file issue which we create without knowing. Or xcode 3.1 has a bug hitting us only. Have a nice day. Ilgaz - original message - Subject:[Fink-users] [ping] Failed: phase compiling: xscreensaver-4.21-1011 failed From: [EMAIL PROTECTED] (Dominique Dhumieres) Date: 23-08-2008 18:38 Over a month ago I have posted http://www.mail-archive.com/fink-users@lists.sourceforge.net/msg28001.html The failure is still present and is blocking to install KDE or Gnome. Could someone have a look to the problem? As far as I can tell, configure try to install flurry (and probably others) only on ppc OSX 10.5.4 XCode 3.1 X11.2.2.3, but I don't understand why. TIA Dominique - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] [ping] Failed: phase compiling: xscreensaver-4.21-1011 failed
On Aug 23, 2008, at 2:37 PM, Dominique Dhumieres wrote: Over a month ago I have posted http://www.mail-archive.com/fink-users@lists.sourceforge.net/msg28001.html The failure is still present and is blocking to install KDE or Gnome. Could someone have a look to the problem? As far as I can tell, configure try to install flurry (and probably others) only on ppc OSX 10.5.4 XCode 3.1 X11.2.2.3, but I don't understand why. TIA Dominique Confirmed wih powerpc/10.5.4/Xcode 3.1/X11 2.3.0 ; It had built previously on that system using Xcode 3.0 . However, on intel/10.5.4/ Xcode 3.1/X11 2.3.0 it builds normally. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] [ping] Failed: phase compiling: xscreensaver-4.21 -1011 failed
Do you have G5 processor(s)? Yes. Did you ever backup /sw and restore? No From what I have seen flurry.c is not built on intel OSX 10.5.4 XCode 3.0. So xscreensaver builds without problem. I don't understand why it tries to build on ppc and I think the problem is related to the definition of 'vector' (remind some problem with ATLAS), but I have no idea on how to fix it. Thanks for the answers. Dominique - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] [ping] Failed: phase compiling: xscreensaver-4.21 -1011 failed
On 24 Aug 2008, at 01:19, Dominique Dhumieres wrote: So xscreensaver builds without problem. I don't understand why it tries to build on ppc and I think the problem is related to the definition of 'vector' right _ the line with 'vector' immediately attracted my attention, and suggested it was possibly altivec-related. To start with, e.g. ways to enable enable altivec (-fabi , -mabi, ...) vary with compilers _ as well as the need or not to include corresponding header files like altivec.h. But sorry, have no 10.5, _ and for the moment not even my G5 _ to look further... J F Mertens - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users