GB3 sur Mac, Connaissance :-)

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

GB3 sur Mac, Connaissance :-)

by GarulfoUnix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Benoit,

Me revoila me revoici mais avec une petite merveille entre les mains,
un cher iMac avec Mac OS X bien entendu.


Alors voilà, la situation est que :

- Je ne suis pas habitué de Mac OS X mais ca reste un UNIX donc
je le prends en main relativement vite.

- Tu ne connais pas grand chose a Mac OS X (voir pas du tout a ce que  
j'ai
pu lire sur la ML en) mais dans la doc tu indiques sur la questions de
compilation sur Mac OS X qu'il te faudrait un accés SSH a la rigueur  
pour
faire celà a distance.

Je me porte volontaire pour t'aider davantage a étendre Gambas sur le  
monde
Mac OS X !

Bon bien sur si ça t'intèresse pas on enterre le mail :D

Mais bon si tu es intéressé pour faire éventuellement une tentative
de portage de GB sur Mac OS X préviens moi

(moi je ne demande pas mieux d'avoir GB sur Mac OS X ;-) )

François
------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by Benoît Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Hello Benoit,
>
> Me revoila me revoici mais avec une petite merveille entre les mains,
> un cher iMac avec Mac OS X bien entendu.
>
>
> Alors voilà, la situation est que :
>
> - Je ne suis pas habitué de Mac OS X mais ca reste un UNIX donc
> je le prends en main relativement vite.
>
> - Tu ne connais pas grand chose a Mac OS X (voir pas du tout a ce que
> j'ai
> pu lire sur la ML en) mais dans la doc tu indiques sur la questions de
> compilation sur Mac OS X qu'il te faudrait un accés SSH a la rigueur
> pour
> faire celà a distance.
>
> Je me porte volontaire pour t'aider davantage a étendre Gambas sur le
> monde
> Mac OS X !
>
> Bon bien sur si ça t'intèresse pas on enterre le mail :D
>
> Mais bon si tu es intéressé pour faire éventuellement une tentative
> de portage de GB sur Mac OS X préviens moi
>
> (moi je ne demande pas mieux d'avoir GB sur Mac OS X ;-) )
>
> François
> ---------------------------------------------------------------------------

Je suis intéressé, mais effectivement je ne connais rien à Mac OS X.

Il faudrait que tu essaies de compiler /trunk, en installant tout ce qu'il
faut pour que ça compile. Je n'ai aucune idée de comment les programmes X11
peuvent tourner, mais ça doit être possible. Peut-être que l'interface
graphique de Mac OS X est capable d'émuler un serveur X ?

En tout cas, une fois ça fait, je pourrais intervenir par ssh pour débugger !

Voilà, tiens-moi au courant !

--
Benoît

------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by GarulfoUnix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 3 juil. 09 à 22:21, Benoît Minisini a écrit :

>> Hello Benoit,
>>
>> Me revoila me revoici mais avec une petite merveille entre les mains,
>> un cher iMac avec Mac OS X bien entendu.
>>
>>
>> Alors voilà, la situation est que :
>>
>> - Je ne suis pas habitué de Mac OS X mais ca reste un UNIX donc
>> je le prends en main relativement vite.
>>
>> - Tu ne connais pas grand chose a Mac OS X (voir pas du tout a ce que
>> j'ai
>> pu lire sur la ML en) mais dans la doc tu indiques sur la questions  
>> de
>> compilation sur Mac OS X qu'il te faudrait un accés SSH a la rigueur
>> pour
>> faire celà a distance.
>>
>> Je me porte volontaire pour t'aider davantage a étendre Gambas sur le
>> monde
>> Mac OS X !
>>
>> Bon bien sur si ça t'intèresse pas on enterre le mail :D
>>
>> Mais bon si tu es intéressé pour faire éventuellement une tentative
>> de portage de GB sur Mac OS X préviens moi
>>
>> (moi je ne demande pas mieux d'avoir GB sur Mac OS X ;-) )
>>
>> François
>> ---------------------------------------------------------------------------
>
> Je suis intéressé, mais effectivement je ne connais rien à Mac OS X.
>
> Il faudrait que tu essaies de compiler /trunk, en installant tout ce  
> qu'il
> faut pour que ça compile. Je n'ai aucune idée de comment les  
> programmes X11
> peuvent tourner, mais ça doit être possible. Peut-être que l'interface
> graphique de Mac OS X est capable d'émuler un serveur X ?
>
> En tout cas, une fois ça fait, je pourrais intervenir par ssh pour  
> débugger !
>
> Voilà, tiens-moi au courant !
>
> --
> Benoît

Impeccable !
Ravi d'apprendre ça ;-)

Le projet sur lequel je vais apporter une grosse contribution (face à  
la documentation ect ...)
c'est de faire un composant GB pour le framework Cocoa pour  
l'intégration d'applications
fait en Gambas dans un environnement Mac OS X :) .

Je vais mettre tout ça en place pour la compilation et je te tiens au  
courant pour un premier
rapport.

François.

> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user-fr mailing list
> Gambas-user-fr@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr


------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Parent Message unknown Re: GB3 sur Mac, Connaissance :-)

by GarulfoUnix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 4 juil. 09 à 14:24, François Gallo a écrit :


Le 4 juil. 09 à 10:08, François Gallo a écrit :


Le 3 juil. 09 à 22:21, Benoît Minisini a écrit :

Hello Benoit,

Me revoila me revoici mais avec une petite merveille entre les mains,
un cher iMac avec Mac OS X bien entendu.


Alors voilà, la situation est que :

- Je ne suis pas habitué de Mac OS X mais ca reste un UNIX donc
je le prends en main relativement vite.

- Tu ne connais pas grand chose a Mac OS X (voir pas du tout a ce que
j'ai
pu lire sur la ML en) mais dans la doc tu indiques sur la questions de
compilation sur Mac OS X qu'il te faudrait un accés SSH a la rigueur
pour
faire celà a distance.

Je me porte volontaire pour t'aider davantage a étendre Gambas sur le
monde
Mac OS X !

Bon bien sur si ça t'intèresse pas on enterre le mail :D

Mais bon si tu es intéressé pour faire éventuellement une tentative
de portage de GB sur Mac OS X préviens moi

(moi je ne demande pas mieux d'avoir GB sur Mac OS X ;-) )

François
---------------------------------------------------------------------------

Je suis intéressé, mais effectivement je ne connais rien à Mac OS X.

Il faudrait que tu essaies de compiler /trunk, en installant tout ce qu'il
faut pour que ça compile. Je n'ai aucune idée de comment les programmes X11
peuvent tourner, mais ça doit être possible. Peut-être que l'interface
graphique de Mac OS X est capable d'émuler un serveur X ?

En tout cas, une fois ça fait, je pourrais intervenir par ssh pour débugger !

Voilà, tiens-moi au courant !

--
Benoît

Impeccable !
Ravi d'apprendre ça ;-)

Le projet sur lequel je vais apporter une grosse contribution (face à la documentation ect ...)
c'est de faire un composant GB pour le framework Cocoa pour l'intégration d'applications
fait en Gambas dans un environnement Mac OS X :) .

Je vais mettre tout ça en place pour la compilation et je te tiens au courant pour un premier
rapport.

François.

Bon benoit, j'ai grand besoin de toi car dans l'état actuelle, je ne comprends pas le pourquoi
du plantage de la compilation de GBC.

Aprés avoir installé les libs principaux strict minimun j'obtiens aprés un ./configure global :

************************************************************

THESE COMPONENTS ARE DISABLED:
-e
- gb.corba
- gb.crypt
- gb.db.firebird
- gb.db.mysql
- gb.db.odbc
- gb.db.postgresql
- gb.db.sqlite2
- gb.opengl
- gb.pcre
- gb.qt
- gb.qt.kde
- gb.sdl
- gb.sdl.sound
- gb.v4l

************************************************************

Bon bizarrement gb.qt étant désactivé, je ne sais pas si c'est le fait
que c'est pas le même chemin vers la libs sur Mac OS X ou juste
que c'est la version 3 de gb.qt et non 4, fin bref, "pour le moment"
j'ai passé a travers. (le composant gb.gtk+ est passé sans soucis par contre)

Je résume les étapes des commandes que j'ai effectué (dans le trunk/ ) :

./reconf-all
./configure

et lors du make, voici là ou ca tape :

gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
gb_common.c:38: error: syntax error before ‘_oldsegv’
gb_common.c:38: warning: type defaults to ‘int’ in declaration of ‘_oldsegv’
gb_common.c:38: warning: data definition has no type or storage class
gb_common.c:39: error: syntax error before ‘_oldbus’
gb_common.c:39: warning: type defaults to ‘int’ in declaration of ‘_oldbus’
gb_common.c:39: warning: data definition has no type or storage class
gb_common.c: In function ‘CHECK_enter’:
gb_common.c:58: warning: assignment makes integer from pointer without a cast
gb_common.c:59: warning: assignment makes integer from pointer without a cast
gb_common.c: In function ‘CHECK_leave’:
gb_common.c:64: warning: passing argument 2 of ‘signal’ makes pointer from integer without a cast
gb_common.c:65: warning: passing argument 2 of ‘signal’ makes pointer from integer without a cast
make[4]: *** [gbx3-gb_common.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
imac-de-francois-gallo:trunk francois$

Alors est-ce que c'est du au manque d'une certaine librairie ou autre chose ?

Francois

------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr




------------------------------------------------------------------------------

_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by Laurent Carlier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le samedi 04 juillet 2009 14:26:18 François Gallo, vous avez écrit :

> Le 4 juil. 09 à 14:24, François Gallo a écrit :
> > Le 4 juil. 09 à 10:08, François Gallo a écrit :
> >> Le 3 juil. 09 à 22:21, Benoît Minisini a écrit :
> >>>> Hello Benoit,
> >>>>
> >>>> Me revoila me revoici mais avec une petite merveille entre les
> >>>> mains,
> >>>> un cher iMac avec Mac OS X bien entendu.
> >>>>
> >>>>
> >>>> Alors voilà, la situation est que :
> >>>>
> >>>> - Je ne suis pas habitué de Mac OS X mais ca reste un UNIX donc
> >>>> je le prends en main relativement vite.
> >>>>
> >>>> - Tu ne connais pas grand chose a Mac OS X (voir pas du tout a ce
> >>>> que
> >>>> j'ai
> >>>> pu lire sur la ML en) mais dans la doc tu indiques sur la
> >>>> questions de
> >>>> compilation sur Mac OS X qu'il te faudrait un accés SSH a la
> >>>> rigueur
> >>>> pour
> >>>> faire celà a distance.
> >>>>
> >>>> Je me porte volontaire pour t'aider davantage a étendre Gambas
> >>>> sur le
> >>>> monde
> >>>> Mac OS X !
> >>>>
> >>>> Bon bien sur si ça t'intèresse pas on enterre le mail :D
> >>>>
> >>>> Mais bon si tu es intéressé pour faire éventuellement une tentative
> >>>> de portage de GB sur Mac OS X préviens moi
> >>>>
> >>>> (moi je ne demande pas mieux d'avoir GB sur Mac OS X ;-) )
> >>>>
> >>>> François
> >>>> ----------------------------------------------------------------------
> >>>>-----
> >>>
> >>> Je suis intéressé, mais effectivement je ne connais rien à Mac OS X.
> >>>
> >>> Il faudrait que tu essaies de compiler /trunk, en installant tout
> >>> ce qu'il
> >>> faut pour que ça compile. Je n'ai aucune idée de comment les
> >>> programmes X11
> >>> peuvent tourner, mais ça doit être possible. Peut-être que
> >>> l'interface
> >>> graphique de Mac OS X est capable d'émuler un serveur X ?
> >>>
> >>> En tout cas, une fois ça fait, je pourrais intervenir par ssh pour
> >>> débugger !
> >>>
> >>> Voilà, tiens-moi au courant !
> >>>
> >>> --
> >>> Benoît
> >>
> >> Impeccable !
> >> Ravi d'apprendre ça ;-)
> >>
> >> Le projet sur lequel je vais apporter une grosse contribution (face
> >> à la documentation ect ...)
> >> c'est de faire un composant GB pour le framework Cocoa pour
> >> l'intégration d'applications
> >> fait en Gambas dans un environnement Mac OS X :) .
> >>
> >> Je vais mettre tout ça en place pour la compilation et je te tiens
> >> au courant pour un premier
> >> rapport.
> >>
> >> François.
>
> Bon benoit, j'ai grand besoin de toi car dans l'état actuelle, je ne
> comprends pas le pourquoi
> du plantage de la compilation de GBC.
>
> Aprés avoir installé les libs principaux strict minimun j'obtiens
> aprés un ./configure global :
>
> ************************************************************
>
> THESE COMPONENTS ARE DISABLED:
> -e
> - gb.corba
> - gb.crypt
> - gb.db.firebird
> - gb.db.mysql
> - gb.db.odbc
> - gb.db.postgresql
> - gb.db.sqlite2
> - gb.opengl
> - gb.pcre
> - gb.qt
> - gb.qt.kde
> - gb.sdl
> - gb.sdl.sound
> - gb.v4l
>
> ************************************************************
>
> Bon bizarrement gb.qt étant désactivé, je ne sais pas si c'est le fait
> que c'est pas le même chemin vers la libs sur Mac OS X ou juste
> que c'est la version 3 de gb.qt et non 4, fin bref, "pour le moment"
> j'ai passé a travers. (le composant gb.gtk+ est passé sans soucis par
> contre)
>
> Je résume les étapes des commandes que j'ai effectué (dans le trunk/ ) :
>
> ./reconf-all
> ./configure
>
> et lors du make, voici là ou ca tape :
>
> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -
> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -
> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-
> gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-
> gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
> gb_common.c:38: error: syntax error before ‘_oldsegv’
> gb_common.c:38: warning: type defaults to ‘int’ in declaration of
> ‘_oldsegv’
> gb_common.c:38: warning: data definition has no type or storage class
> gb_common.c:39: error: syntax error before ‘_oldbus’
> gb_common.c:39: warning: type defaults to ‘int’ in declaration of
> ‘_oldbus’
> gb_common.c:39: warning: data definition has no type or storage class
> gb_common.c: In function ‘CHECK_enter’:
> gb_common.c:58: warning: assignment makes integer from pointer without
> a cast
> gb_common.c:59: warning: assignment makes integer from pointer without
> a cast
> gb_common.c: In function ‘CHECK_leave’:
> gb_common.c:64: warning: passing argument 2 of ‘signal’ makes pointer
> from integer without a cast
> gb_common.c:65: warning: passing argument 2 of ‘signal’ makes pointer
> from integer without a cast
> make[4]: *** [gbx3-gb_common.o] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> imac-de-francois-gallo:trunk francois$
>
> Alors est-ce que c'est du au manque d'une certaine librairie ou autre
> chose ?
>
> Francois
>
> >>> -----------------------------------------------------------------------
> >>>------- _______________________________________________
> >>> Gambas-user-fr mailing list
> >>> Gambas-user-fr@...
> >>> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Déjà, chercher à compiler le répertoire main. (gbc/gbx/gbi,...)
fournir les versions de gcc /autoconf/automake/.......
la sortie de configure (il doit même y avoir un configure.log)

Là ça semble bloquer sur la gestion des signaux, certainement des #ifdef a
ajouter par ci par là.

++


------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by Benoît Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Le 4 juil. 09 à 14:24, François Gallo a écrit :

> > Le 4 juil. 09 à 10:08, François Gallo a écrit :
> >> Le 3 juil. 09 à 22:21, Benoît Minisini a écrit :
> >>>> Hello Benoit,
> >>>>
> >>>> Me revoila me revoici mais avec une petite merveille entre les
> >>>> mains,
> >>>> un cher iMac avec Mac OS X bien entendu.
> >>>>
> >>>>
> >>>> Alors voilà, la situation est que :
> >>>>
> >>>> - Je ne suis pas habitué de Mac OS X mais ca reste un UNIX donc
> >>>> je le prends en main relativement vite.
> >>>>
> >>>> - Tu ne connais pas grand chose a Mac OS X (voir pas du tout a ce
> >>>> que
> >>>> j'ai
> >>>> pu lire sur la ML en) mais dans la doc tu indiques sur la
> >>>> questions de
> >>>> compilation sur Mac OS X qu'il te faudrait un accés SSH a la
> >>>> rigueur
> >>>> pour
> >>>> faire celà a distance.
> >>>>
> >>>> Je me porte volontaire pour t'aider davantage a étendre Gambas
> >>>> sur le
> >>>> monde
> >>>> Mac OS X !
> >>>>
> >>>> Bon bien sur si ça t'intèresse pas on enterre le mail :D
> >>>>
> >>>> Mais bon si tu es intéressé pour faire éventuellement une tentative
> >>>> de portage de GB sur Mac OS X préviens moi
> >>>>
> >>>> (moi je ne demande pas mieux d'avoir GB sur Mac OS X ;-) )
> >>>>
> >>>> François
> >>>> ----------------------------------------------------------------------
> >>>>-----
> >>>
> >>> Je suis intéressé, mais effectivement je ne connais rien à Mac OS X.
> >>>
> >>> Il faudrait que tu essaies de compiler /trunk, en installant tout
> >>> ce qu'il
> >>> faut pour que ça compile. Je n'ai aucune idée de comment les
> >>> programmes X11
> >>> peuvent tourner, mais ça doit être possible. Peut-être que
> >>> l'interface
> >>> graphique de Mac OS X est capable d'émuler un serveur X ?
> >>>
> >>> En tout cas, une fois ça fait, je pourrais intervenir par ssh pour
> >>> débugger !
> >>>
> >>> Voilà, tiens-moi au courant !
> >>>
> >>> --
> >>> Benoît
> >>
> >> Impeccable !
> >> Ravi d'apprendre ça ;-)
> >>
> >> Le projet sur lequel je vais apporter une grosse contribution (face
> >> à la documentation ect ...)
> >> c'est de faire un composant GB pour le framework Cocoa pour
> >> l'intégration d'applications
> >> fait en Gambas dans un environnement Mac OS X :) .
> >>
> >> Je vais mettre tout ça en place pour la compilation et je te tiens
> >> au courant pour un premier
> >> rapport.
> >>
> >> François.
>
> Bon benoit, j'ai grand besoin de toi car dans l'état actuelle, je ne
> comprends pas le pourquoi
> du plantage de la compilation de GBC.
>
> Aprés avoir installé les libs principaux strict minimun j'obtiens
> aprés un ./configure global :
>
> ************************************************************
>
> THESE COMPONENTS ARE DISABLED:
> -e
Ce "-e" n'est pas normal...

> - gb.corba
> - gb.crypt
> - gb.db.firebird
> - gb.db.mysql
> - gb.db.odbc
> - gb.db.postgresql
> - gb.db.sqlite2
> - gb.opengl
> - gb.pcre
> - gb.qt
> - gb.qt.kde
> - gb.sdl
> - gb.sdl.sound
> - gb.v4l
>
> ************************************************************
>
> Bon bizarrement gb.qt étant désactivé, je ne sais pas si c'est le fait
> que c'est pas le même chemin vers la libs sur Mac OS X ou juste
> que c'est la version 3 de gb.qt et non 4, fin bref, "pour le moment"
> j'ai passé a travers. (le composant gb.gtk+ est passé sans soucis par
> contre)
Envoie-moi la sortie complète de ./configure pour que je regarde.

>
> Je résume les étapes des commandes que j'ai effectué (dans le trunk/ ) :
>
> ./reconf-all
> ./configure
>
> et lors du make, voici là ou ca tape :
>
> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -
> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -
> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-
> gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-
> gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
> gb_common.c:38: error: syntax error before ‘_oldsegv’
Il doit manquer la définition du type sighandler_t. Essaie en remplaçant
/trunk/main/share/gb_common.h par le fichier joint. J'y définie le type dans
le cas où la constante OS_MACOSX est définie. Cette constante est définie par
le script ./configure lorsque Mac OS X est détecté.

Il faudrait que tu vérifies quelle est ta version de gcc aussi. Deux version
différentes ne donnent pas les mêmes warnings...

--
Benoît

[gb_common.h]

/***************************************************************************

  common.h

  Common useful macros

  Copyright (c) 2000-2007 Benoit Minisini <gambas@...>

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 1, or (at your option)
  any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

***************************************************************************/

#ifndef __GB_COMMON_H
#define __GB_COMMON_H

#include "config.h"

#ifdef _GNU_SOURCE
#undef _GNU_SOURCE
#endif
#define _GNU_SOURCE 500
#define _FILE_OFFSET_BITS 64

#include <math.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <stddef.h>
#include <stdint.h>
#include <inttypes.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>

#if defined(__GNU_LIBRARY__) || defined(OS_FREEBSD)
#include <getopt.h>
#define HAVE_GETOPT_LONG 1
#endif

#if defined(OS_CYGWIN) || defined(OS_MACOSX)

typedef void (*sighandler_t) (int);

#endif

#if defined(OS_FREEBSD) || defined(OS_OPENBSD)

  /* Get definition for PATH_MAX */
  #include <limits.h>
  /* sighandler_t is replaced by sig_t */
  #define sighandler_t sig_t
  /* modfl is not yet implemented */
  # define modfl(a,b) modf(a,b)

        typedef unsigned long ulong;

        #if (defined(__amd64__) || defined(__ia64__) || defined(__sparc64__))
                #define __WORDSIZE 64
        #endif

#endif

#ifdef OS_FREEBSD
  /* finite is replaced by isfinite */
  #define finite isfinite
#endif

#ifdef OS_SOLARIS

 /* PGS: The following #define prevents /usr/include/sys/mman.h on solaris
    from #define'ing PRIVATE to 0x20, thus breaking Gambas.
    Perhaps Gambas should use a different name?
    BM: I don't use PRIVATE anymore!
 */
  #ifdef _POSIX_C_SOURCE
  /* PGS: Stop compiler warnings when gcc on solaris does remember to define
    _POSIX_C_SOURCE, e.g. when compiling qt related files. */
    #undef _POSIX_C_SOURCE
  #endif

  #define _POSIX_C_SOURCE 3
  /* Get prototype for alloca() */
  #include <alloca.h>
  /* Get definition for PATH_MAX */
  #include <limits.h>
  /* Get definition for index() */
  #include <strings.h>

#endif

#if !defined(__cplusplus)

  #ifndef FALSE
    enum
    {
      FALSE = 0,
      TRUE = 1
    };
  #endif

  typedef
    char boolean;

  typedef
    char bool;

#endif

typedef
  unsigned char uchar;
 
typedef
        size_t offset_t;
 
#define PUBLIC
#define INLINE __inline__
#define EXTERN extern
#define PACKED __attribute__((packed))
#define NORETURN __attribute__((noreturn))
#define CONST __attribute__((const))

#if __WORDSIZE == 64
#define OS_64BITS 1
#endif

#define CLEAR(s) (memset(s, 0, sizeof(*s)))

/* Workaround spurious gcc warnings */
#define NO_WARNING(var) var = var

#ifndef offsetof
  #define offsetof(_type, _arg) ((size_t)&(((_type *)0)->_arg))
#endif

#define Max(a, b) ({ int _a = (a), _b = (b); _a > _b ? _a : _b; })
#define Min(a, b) ({ int _a = (a), _b = (b); _a < _b ? _a : _b; })
#define MinMax(v, a, b) ({ int _v = (v), _a = (a), _b = (b); _v < _a ? _a : (_v > _b ? _b : _v); })

#if (defined (__i386__) || defined (__x86_64__)) && defined (__GNUC__) && __GNUC__ >= 2
#  define BREAKPOINT() { __asm__ __volatile__ ("int $03"); }
#elif (defined (_MSC_VER) || defined (__DMC__)) && defined (_M_IX86)
#  define BREAKPOINT() { __asm int 3h }G_STMT_END
#elif defined (__alpha__) && !defined(__osf__) && defined (__GNUC__) && __GNUC__ >= 2
#  define BREAKPOINT() { __asm__ __volatile__ ("bpt"); }
#else /* !__i386__ && !__alpha__ */
#  define BREAKPOINT() { raise (SIGTRAP); }
#endif /* __i386__ */

#define COPYRIGHT "(c) 2000-2008 Benoit Minisini\n\n" \
  "This program is free software; you can redistribute it and/or \n" \
  "modify it under the terms of the GNU General Public License as \n" \
  "published by the Free Software Foundation; either version 2, or \n" \
  "(at your option) any later version.\n\n"

#endif /* __COMMON_H */


------------------------------------------------------------------------------

_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by Laurent Carlier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le samedi 04 juillet 2009 14:26:18 François Gallo, vous avez écrit :

> Le 4 juil. 09 à 14:24, François Gallo a écrit :
> > Le 4 juil. 09 à 10:08, François Gallo a écrit :
> >> Le 3 juil. 09 à 22:21, Benoît Minisini a écrit :
> >>>> Hello Benoit,
> >>>>
> >>>> Me revoila me revoici mais avec une petite merveille entre les
> >>>> mains,
> >>>> un cher iMac avec Mac OS X bien entendu.
> >>>>
> >>>>
> >>>> Alors voilà, la situation est que :
> >>>>
> >>>> - Je ne suis pas habitué de Mac OS X mais ca reste un UNIX donc
> >>>> je le prends en main relativement vite.
> >>>>
> >>>> - Tu ne connais pas grand chose a Mac OS X (voir pas du tout a ce
> >>>> que
> >>>> j'ai
> >>>> pu lire sur la ML en) mais dans la doc tu indiques sur la
> >>>> questions de
> >>>> compilation sur Mac OS X qu'il te faudrait un accés SSH a la
> >>>> rigueur
> >>>> pour
> >>>> faire celà a distance.
> >>>>
> >>>> Je me porte volontaire pour t'aider davantage a étendre Gambas
> >>>> sur le
> >>>> monde
> >>>> Mac OS X !
> >>>>
> >>>> Bon bien sur si ça t'intèresse pas on enterre le mail :D
> >>>>
> >>>> Mais bon si tu es intéressé pour faire éventuellement une tentative
> >>>> de portage de GB sur Mac OS X préviens moi
> >>>>
> >>>> (moi je ne demande pas mieux d'avoir GB sur Mac OS X ;-) )
> >>>>
> >>>> François
> >>>> ----------------------------------------------------------------------
> >>>>-----
> >>>
> >>> Je suis intéressé, mais effectivement je ne connais rien à Mac OS X.
> >>>
> >>> Il faudrait que tu essaies de compiler /trunk, en installant tout
> >>> ce qu'il
> >>> faut pour que ça compile. Je n'ai aucune idée de comment les
> >>> programmes X11
> >>> peuvent tourner, mais ça doit être possible. Peut-être que
> >>> l'interface
> >>> graphique de Mac OS X est capable d'émuler un serveur X ?
> >>>
> >>> En tout cas, une fois ça fait, je pourrais intervenir par ssh pour
> >>> débugger !
> >>>
> >>> Voilà, tiens-moi au courant !
> >>>
> >>> --
> >>> Benoît
> >>
> >> Impeccable !
> >> Ravi d'apprendre ça ;-)
> >>
> >> Le projet sur lequel je vais apporter une grosse contribution (face
> >> à la documentation ect ...)
> >> c'est de faire un composant GB pour le framework Cocoa pour
> >> l'intégration d'applications
> >> fait en Gambas dans un environnement Mac OS X :) .
> >>
> >> Je vais mettre tout ça en place pour la compilation et je te tiens
> >> au courant pour un premier
> >> rapport.
> >>
> >> François.
>
> Bon benoit, j'ai grand besoin de toi car dans l'état actuelle, je ne
> comprends pas le pourquoi
> du plantage de la compilation de GBC.
>
> Aprés avoir installé les libs principaux strict minimun j'obtiens
> aprés un ./configure global :
>
> ************************************************************
>
> THESE COMPONENTS ARE DISABLED:
> -e
> - gb.corba
> - gb.crypt
> - gb.db.firebird
> - gb.db.mysql
> - gb.db.odbc
> - gb.db.postgresql
> - gb.db.sqlite2
> - gb.opengl
> - gb.pcre
> - gb.qt
> - gb.qt.kde
> - gb.sdl
> - gb.sdl.sound
> - gb.v4l
>
> ************************************************************
>
> Bon bizarrement gb.qt étant désactivé, je ne sais pas si c'est le fait
> que c'est pas le même chemin vers la libs sur Mac OS X ou juste
> que c'est la version 3 de gb.qt et non 4, fin bref, "pour le moment"
> j'ai passé a travers. (le composant gb.gtk+ est passé sans soucis par
> contre)
>
> Je résume les étapes des commandes que j'ai effectué (dans le trunk/ ) :
>
> ./reconf-all
> ./configure
>
> et lors du make, voici là ou ca tape :
>
> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -
> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -
> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-
> gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-
> gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
> gb_common.c:38: error: syntax error before ‘_oldsegv’
> gb_common.c:38: warning: type defaults to ‘int’ in declaration of
> ‘_oldsegv’
> gb_common.c:38: warning: data definition has no type or storage class
> gb_common.c:39: error: syntax error before ‘_oldbus’
> gb_common.c:39: warning: type defaults to ‘int’ in declaration of
> ‘_oldbus’
> gb_common.c:39: warning: data definition has no type or storage class
> gb_common.c: In function ‘CHECK_enter’:
> gb_common.c:58: warning: assignment makes integer from pointer without
> a cast
> gb_common.c:59: warning: assignment makes integer from pointer without
> a cast
> gb_common.c: In function ‘CHECK_leave’:
> gb_common.c:64: warning: passing argument 2 of ‘signal’ makes pointer
> from integer without a cast
> gb_common.c:65: warning: passing argument 2 of ‘signal’ makes pointer
> from integer without a cast
> make[4]: *** [gbx3-gb_common.o] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> imac-de-francois-gallo:trunk francois$
>
> Alors est-ce que c'est du au manque d'une certaine librairie ou autre
> chose ?
>
> Francois
>
> >>> -----------------------------------------------------------------------
> >>>------- _______________________________________________
> >>> Gambas-user-fr mailing list
> >>> Gambas-user-fr@...
> >>> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

jette un coup d'oeil dans main/share/gb_common.h

++


------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by Benoît Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> > Le 4 juil. 09 à 14:24, François Gallo a écrit :

> > > Le 4 juil. 09 à 10:08, François Gallo a écrit :
> > >> Le 3 juil. 09 à 22:21, Benoît Minisini a écrit :
> > >>>> Hello Benoit,
> > >>>>
> > >>>> Me revoila me revoici mais avec une petite merveille entre les
> > >>>> mains,
> > >>>> un cher iMac avec Mac OS X bien entendu.
> > >>>>
> > >>>>
> > >>>> Alors voilà, la situation est que :
> > >>>>
> > >>>> - Je ne suis pas habitué de Mac OS X mais ca reste un UNIX donc
> > >>>> je le prends en main relativement vite.
> > >>>>
> > >>>> - Tu ne connais pas grand chose a Mac OS X (voir pas du tout a ce
> > >>>> que
> > >>>> j'ai
> > >>>> pu lire sur la ML en) mais dans la doc tu indiques sur la
> > >>>> questions de
> > >>>> compilation sur Mac OS X qu'il te faudrait un accés SSH a la
> > >>>> rigueur
> > >>>> pour
> > >>>> faire celà a distance.
> > >>>>
> > >>>> Je me porte volontaire pour t'aider davantage a étendre Gambas
> > >>>> sur le
> > >>>> monde
> > >>>> Mac OS X !
> > >>>>
> > >>>> Bon bien sur si ça t'intèresse pas on enterre le mail :D
> > >>>>
> > >>>> Mais bon si tu es intéressé pour faire éventuellement une tentative
> > >>>> de portage de GB sur Mac OS X préviens moi
> > >>>>
> > >>>> (moi je ne demande pas mieux d'avoir GB sur Mac OS X ;-) )
> > >>>>
> > >>>> François
> > >>>> --------------------------------------------------------------------
> > >>>>-- -----
> > >>>
> > >>> Je suis intéressé, mais effectivement je ne connais rien à Mac OS X.
> > >>>
> > >>> Il faudrait que tu essaies de compiler /trunk, en installant tout
> > >>> ce qu'il
> > >>> faut pour que ça compile. Je n'ai aucune idée de comment les
> > >>> programmes X11
> > >>> peuvent tourner, mais ça doit être possible. Peut-être que
> > >>> l'interface
> > >>> graphique de Mac OS X est capable d'émuler un serveur X ?
> > >>>
> > >>> En tout cas, une fois ça fait, je pourrais intervenir par ssh pour
> > >>> débugger !
> > >>>
> > >>> Voilà, tiens-moi au courant !
> > >>>
> > >>> --
> > >>> Benoît
> > >>
> > >> Impeccable !
> > >> Ravi d'apprendre ça ;-)
> > >>
> > >> Le projet sur lequel je vais apporter une grosse contribution (face
> > >> à la documentation ect ...)
> > >> c'est de faire un composant GB pour le framework Cocoa pour
> > >> l'intégration d'applications
> > >> fait en Gambas dans un environnement Mac OS X :) .
> > >>
> > >> Je vais mettre tout ça en place pour la compilation et je te tiens
> > >> au courant pour un premier
> > >> rapport.
> > >>
> > >> François.
> >
> > Bon benoit, j'ai grand besoin de toi car dans l'état actuelle, je ne
> > comprends pas le pourquoi
> > du plantage de la compilation de GBC.
> >
> > Aprés avoir installé les libs principaux strict minimun j'obtiens
> > aprés un ./configure global :
> >
> > ************************************************************
> >
> > THESE COMPONENTS ARE DISABLED:
> > -e
>
> Ce "-e" n'est pas normal...
>
> > - gb.corba
> > - gb.crypt
> > - gb.db.firebird
> > - gb.db.mysql
> > - gb.db.odbc
> > - gb.db.postgresql
> > - gb.db.sqlite2
> > - gb.opengl
> > - gb.pcre
> > - gb.qt
> > - gb.qt.kde
> > - gb.sdl
> > - gb.sdl.sound
> > - gb.v4l
> >
> > ************************************************************
> >
> > Bon bizarrement gb.qt étant désactivé, je ne sais pas si c'est le fait
> > que c'est pas le même chemin vers la libs sur Mac OS X ou juste
> > que c'est la version 3 de gb.qt et non 4, fin bref, "pour le moment"
> > j'ai passé a travers. (le composant gb.gtk+ est passé sans soucis par
> > contre)
>
> Envoie-moi la sortie complète de ./configure pour que je regarde.
>
> > Je résume les étapes des commandes que j'ai effectué (dans le trunk/ ) :
> >
> > ./reconf-all
> > ./configure
> >
> > et lors du make, voici là ou ca tape :
> >
> > gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -
> > I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -
> > Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-
> > gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-
> > gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
> > gb_common.c:38: error: syntax error before ‘_oldsegv’
>
> Il doit manquer la définition du type sighandler_t. Essaie en remplaçant
> /trunk/main/share/gb_common.h par le fichier joint. J'y définie le type
> dans le cas où la constante OS_MACOSX est définie. Cette constante est
> définie par le script ./configure lorsque Mac OS X est détecté.
>
> Il faudrait que tu vérifies quelle est ta version de gcc aussi. Deux
> version différentes ne donnent pas les mêmes warnings...
Ah j'ai compris ! Mac OS X est basé sur FreeBSD. Peut-être que le plus simple
est de définir OS_FREEBSD lorsque OS_MACOSX est défini. Essaie-donc plutôt ce
fichier-ci...

--
Benoît

[gb_common.h]

/***************************************************************************

  common.h

  Common useful macros

  Copyright (c) 2000-2007 Benoit Minisini <gambas@...>

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 1, or (at your option)
  any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

***************************************************************************/

#ifndef __GB_COMMON_H
#define __GB_COMMON_H

#include "config.h"

#ifdef _GNU_SOURCE
#undef _GNU_SOURCE
#endif
#define _GNU_SOURCE 500
#define _FILE_OFFSET_BITS 64

#include <math.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <stddef.h>
#include <stdint.h>
#include <inttypes.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>

#ifdef OS_MACOSX
#define OS_FREEBSD
#endif

#if defined(__GNU_LIBRARY__) || defined(OS_FREEBSD)
#include <getopt.h>
#define HAVE_GETOPT_LONG 1
#endif

#if defined(OS_CYGWIN)

typedef void (*sighandler_t) (int);

#endif

#if defined(OS_FREEBSD) || defined(OS_OPENBSD)

  /* Get definition for PATH_MAX */
  #include <limits.h>
  /* sighandler_t is replaced by sig_t */
  #define sighandler_t sig_t
  /* modfl is not yet implemented */
  # define modfl(a,b) modf(a,b)

        typedef unsigned long ulong;

        #if (defined(__amd64__) || defined(__ia64__) || defined(__sparc64__))
                #define __WORDSIZE 64
        #endif

#endif

#ifdef OS_FREEBSD
  /* finite is replaced by isfinite */
  #define finite isfinite
#endif

#ifdef OS_SOLARIS

 /* PGS: The following #define prevents /usr/include/sys/mman.h on solaris
    from #define'ing PRIVATE to 0x20, thus breaking Gambas.
    Perhaps Gambas should use a different name?
    BM: I don't use PRIVATE anymore!
 */
  #ifdef _POSIX_C_SOURCE
  /* PGS: Stop compiler warnings when gcc on solaris does remember to define
    _POSIX_C_SOURCE, e.g. when compiling qt related files. */
    #undef _POSIX_C_SOURCE
  #endif

  #define _POSIX_C_SOURCE 3
  /* Get prototype for alloca() */
  #include <alloca.h>
  /* Get definition for PATH_MAX */
  #include <limits.h>
  /* Get definition for index() */
  #include <strings.h>

#endif

#if !defined(__cplusplus)

  #ifndef FALSE
    enum
    {
      FALSE = 0,
      TRUE = 1
    };
  #endif

  typedef
    char boolean;

  typedef
    char bool;

#endif

typedef
  unsigned char uchar;
 
typedef
        size_t offset_t;
 
#define PUBLIC
#define INLINE __inline__
#define EXTERN extern
#define PACKED __attribute__((packed))
#define NORETURN __attribute__((noreturn))
#define CONST __attribute__((const))

#if __WORDSIZE == 64
#define OS_64BITS 1
#endif

#define CLEAR(s) (memset(s, 0, sizeof(*s)))

/* Workaround spurious gcc warnings */
#define NO_WARNING(var) var = var

#ifndef offsetof
  #define offsetof(_type, _arg) ((size_t)&(((_type *)0)->_arg))
#endif

#define Max(a, b) ({ int _a = (a), _b = (b); _a > _b ? _a : _b; })
#define Min(a, b) ({ int _a = (a), _b = (b); _a < _b ? _a : _b; })
#define MinMax(v, a, b) ({ int _v = (v), _a = (a), _b = (b); _v < _a ? _a : (_v > _b ? _b : _v); })

#if (defined (__i386__) || defined (__x86_64__)) && defined (__GNUC__) && __GNUC__ >= 2
#  define BREAKPOINT() { __asm__ __volatile__ ("int $03"); }
#elif (defined (_MSC_VER) || defined (__DMC__)) && defined (_M_IX86)
#  define BREAKPOINT() { __asm int 3h }G_STMT_END
#elif defined (__alpha__) && !defined(__osf__) && defined (__GNUC__) && __GNUC__ >= 2
#  define BREAKPOINT() { __asm__ __volatile__ ("bpt"); }
#else /* !__i386__ && !__alpha__ */
#  define BREAKPOINT() { raise (SIGTRAP); }
#endif /* __i386__ */

#define COPYRIGHT "(c) 2000-2008 Benoit Minisini\n\n" \
  "This program is free software; you can redistribute it and/or \n" \
  "modify it under the terms of the GNU General Public License as \n" \
  "published by the Free Software Foundation; either version 2, or \n" \
  "(at your option) any later version.\n\n"

#endif /* __COMMON_H */


------------------------------------------------------------------------------

_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by GarulfoUnix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 4 juil. 09 à 15:09, Benoît Minisini a écrit :

>>> Le 4 juil. 09 à 14:24, François Gallo a écrit :
>>>> Le 4 juil. 09 à 10:08, François Gallo a écrit :
>>>>> Le 3 juil. 09 à 22:21, Benoît Minisini a écrit :
>>>>>>> Hello Benoit,
>>>>>>>
>>>>>>> Me revoila me revoici mais avec une petite merveille entre les
>>>>>>> mains,
>>>>>>> un cher iMac avec Mac OS X bien entendu.
>>>>>>>
>>>>>>>
>>>>>>> Alors voilà, la situation est que :
>>>>>>>
>>>>>>> - Je ne suis pas habitué de Mac OS X mais ca reste un UNIX donc
>>>>>>> je le prends en main relativement vite.
>>>>>>>
>>>>>>> - Tu ne connais pas grand chose a Mac OS X (voir pas du tout a  
>>>>>>> ce
>>>>>>> que
>>>>>>> j'ai
>>>>>>> pu lire sur la ML en) mais dans la doc tu indiques sur la
>>>>>>> questions de
>>>>>>> compilation sur Mac OS X qu'il te faudrait un accés SSH a la
>>>>>>> rigueur
>>>>>>> pour
>>>>>>> faire celà a distance.
>>>>>>>
>>>>>>> Je me porte volontaire pour t'aider davantage a étendre Gambas
>>>>>>> sur le
>>>>>>> monde
>>>>>>> Mac OS X !
>>>>>>>
>>>>>>> Bon bien sur si ça t'intèresse pas on enterre le mail :D
>>>>>>>
>>>>>>> Mais bon si tu es intéressé pour faire éventuellement une  
>>>>>>> tentative
>>>>>>> de portage de GB sur Mac OS X préviens moi
>>>>>>>
>>>>>>> (moi je ne demande pas mieux d'avoir GB sur Mac OS X ;-) )
>>>>>>>
>>>>>>> François
>>>>>>> --------------------------------------------------------------------
>>>>>>> -- -----
>>>>>>
>>>>>> Je suis intéressé, mais effectivement je ne connais rien à Mac  
>>>>>> OS X.
>>>>>>
>>>>>> Il faudrait que tu essaies de compiler /trunk, en installant tout
>>>>>> ce qu'il
>>>>>> faut pour que ça compile. Je n'ai aucune idée de comment les
>>>>>> programmes X11
>>>>>> peuvent tourner, mais ça doit être possible. Peut-être que
>>>>>> l'interface
>>>>>> graphique de Mac OS X est capable d'émuler un serveur X ?
>>>>>>
>>>>>> En tout cas, une fois ça fait, je pourrais intervenir par ssh  
>>>>>> pour
>>>>>> débugger !
>>>>>>
>>>>>> Voilà, tiens-moi au courant !
>>>>>>
>>>>>> --
>>>>>> Benoît
>>>>>
>>>>> Impeccable !
>>>>> Ravi d'apprendre ça ;-)
>>>>>
>>>>> Le projet sur lequel je vais apporter une grosse contribution  
>>>>> (face
>>>>> à la documentation ect ...)
>>>>> c'est de faire un composant GB pour le framework Cocoa pour
>>>>> l'intégration d'applications
>>>>> fait en Gambas dans un environnement Mac OS X :) .
>>>>>
>>>>> Je vais mettre tout ça en place pour la compilation et je te tiens
>>>>> au courant pour un premier
>>>>> rapport.
>>>>>
>>>>> François.
>>>
>>> Bon benoit, j'ai grand besoin de toi car dans l'état actuelle, je ne
>>> comprends pas le pourquoi
>>> du plantage de la compilation de GBC.
>>>
>>> Aprés avoir installé les libs principaux strict minimun j'obtiens
>>> aprés un ./configure global :
>>>
>>> ************************************************************
>>>
>>> THESE COMPONENTS ARE DISABLED:
>>> -e
>>
>> Ce "-e" n'est pas normal...
>>
>>> - gb.corba
>>> - gb.crypt
>>> - gb.db.firebird
>>> - gb.db.mysql
>>> - gb.db.odbc
>>> - gb.db.postgresql
>>> - gb.db.sqlite2
>>> - gb.opengl
>>> - gb.pcre
>>> - gb.qt
>>> - gb.qt.kde
>>> - gb.sdl
>>> - gb.sdl.sound
>>> - gb.v4l
>>>
>>> ************************************************************
>>>
>>> Bon bizarrement gb.qt étant désactivé, je ne sais pas si c'est le  
>>> fait
>>> que c'est pas le même chemin vers la libs sur Mac OS X ou juste
>>> que c'est la version 3 de gb.qt et non 4, fin bref, "pour le moment"
>>> j'ai passé a travers. (le composant gb.gtk+ est passé sans soucis  
>>> par
>>> contre)
>>
>> Envoie-moi la sortie complète de ./configure pour que je regarde.
>>
>>> Je résume les étapes des commandes que j'ai effectué (dans le  
>>> trunk/ ) :
>>>
>>> ./reconf-all
>>> ./configure
>>>
>>> et lors du make, voici là ou ca tape :
>>>
>>> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
>>> libltdl  -
>>> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -
>>> Wall -
>>> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-
>>> gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-
>>> gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
>>> gb_common.c:38: error: syntax error before ‘_oldsegv’
>>
>> Il doit manquer la définition du type sighandler_t. Essaie en  
>> remplaçant
>> /trunk/main/share/gb_common.h par le fichier joint. J'y définie le  
>> type
>> dans le cas où la constante OS_MACOSX est définie. Cette constante  
>> est
>> définie par le script ./configure lorsque Mac OS X est détecté.
>>
>> Il faudrait que tu vérifies quelle est ta version de gcc aussi. Deux
>> version différentes ne donnent pas les mêmes warnings...
>
> Ah j'ai compris ! Mac OS X est basé sur FreeBSD. Peut-être que le  
> plus simple
> est de définir OS_FREEBSD lorsque OS_MACOSX est défini. Essaie-donc  
> plutôt ce
> fichier-ci...
>
Oui Mac OS X est basé sur FreeBSD :) . Je n'ai pas fait la remarque  
car je pensais
que tu le savais lol. C'est pas bien grave.

Donc bon j'ai du nouveau avec le fichier gb_common.h que tu m'as  
envoyé, ca a l'air
de marcher, j'ai une autre erreur provenant maintenant de gb_error.h

(cd .libs && rm -f gb.0.so && ln -s gb.0.0.0.so gb.0.so)
(cd .libs && rm -f gb.so && ln -s gb.0.0.0.so gb.so)
creating gb.la
(cd .libs && rm -f gb.la && ln -s ../gb.la gb.la)
gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -
I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -
Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-
gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-
gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
mv -f .deps/gbx3-gb_common.Tpo .deps/gbx3-gb_common.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -
I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -
Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-
gbx_debug.o -MD -MP -MF .deps/gbx3-gbx_debug.Tpo -c -o gbx3-
gbx_debug.o `test -f 'gbx_debug.c' || echo './'`gbx_debug.c
mv -f .deps/gbx3-gbx_debug.Tpo .deps/gbx3-gbx_debug.Po
if gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
libltdl  -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -
pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -
O3  -MT gbx3-gb_error.o -MD -MP -MF ".deps/gbx3-gb_error.Tpo" -c -o  
gbx3-gb_error.o `test -f 'gb_error.c' || echo './'`gb_error.c; then mv  
-f ".deps/gbx3-gb_error.Tpo" ".deps/gbx3-gb_error.Po"; else rm -f  
".deps/gbx3-gb_error.Tpo"; exit 1; fi
gb_error.c:435: error: conflicting types for ‘ERROR_print_at’
gb_error.h:202: error: previous declaration of ‘ERROR_print_at’ was here
make[2]: *** [gbx3-gb_error.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
imac-de-francois-gallo:main francois$

> --
> Benoît
> <
> gb_common
> .h
> >
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user-fr mailing list
> Gambas-user-fr@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr


------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by GarulfoUnix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 4 juil. 09 à 15:19, François Gallo a écrit :

>
> Le 4 juil. 09 à 15:09, Benoît Minisini a écrit :
>
>>>> Le 4 juil. 09 à 14:24, François Gallo a écrit :
>>>>> Le 4 juil. 09 à 10:08, François Gallo a écrit :
>>>>>> Le 3 juil. 09 à 22:21, Benoît Minisini a écrit :
>>>>>>>> Hello Benoit,
>>>>>>>>
>>>>>>>> Me revoila me revoici mais avec une petite merveille entre les
>>>>>>>> mains,
>>>>>>>> un cher iMac avec Mac OS X bien entendu.
>>>>>>>>
>>>>>>>>
>>>>>>>> Alors voilà, la situation est que :
>>>>>>>>
>>>>>>>> - Je ne suis pas habitué de Mac OS X mais ca reste un UNIX donc
>>>>>>>> je le prends en main relativement vite.
>>>>>>>>
>>>>>>>> - Tu ne connais pas grand chose a Mac OS X (voir pas du tout  
>>>>>>>> a ce
>>>>>>>> que
>>>>>>>> j'ai
>>>>>>>> pu lire sur la ML en) mais dans la doc tu indiques sur la
>>>>>>>> questions de
>>>>>>>> compilation sur Mac OS X qu'il te faudrait un accés SSH a la
>>>>>>>> rigueur
>>>>>>>> pour
>>>>>>>> faire celà a distance.
>>>>>>>>
>>>>>>>> Je me porte volontaire pour t'aider davantage a étendre Gambas
>>>>>>>> sur le
>>>>>>>> monde
>>>>>>>> Mac OS X !
>>>>>>>>
>>>>>>>> Bon bien sur si ça t'intèresse pas on enterre le mail :D
>>>>>>>>
>>>>>>>> Mais bon si tu es intéressé pour faire éventuellement une  
>>>>>>>> tentative
>>>>>>>> de portage de GB sur Mac OS X préviens moi
>>>>>>>>
>>>>>>>> (moi je ne demande pas mieux d'avoir GB sur Mac OS X ;-) )
>>>>>>>>
>>>>>>>> François
>>>>>>>> --------------------------------------------------------------------
>>>>>>>> -- -----
>>>>>>>
>>>>>>> Je suis intéressé, mais effectivement je ne connais rien à Mac  
>>>>>>> OS X.
>>>>>>>
>>>>>>> Il faudrait que tu essaies de compiler /trunk, en installant  
>>>>>>> tout
>>>>>>> ce qu'il
>>>>>>> faut pour que ça compile. Je n'ai aucune idée de comment les
>>>>>>> programmes X11
>>>>>>> peuvent tourner, mais ça doit être possible. Peut-être que
>>>>>>> l'interface
>>>>>>> graphique de Mac OS X est capable d'émuler un serveur X ?
>>>>>>>
>>>>>>> En tout cas, une fois ça fait, je pourrais intervenir par ssh  
>>>>>>> pour
>>>>>>> débugger !
>>>>>>>
>>>>>>> Voilà, tiens-moi au courant !
>>>>>>>
>>>>>>> --
>>>>>>> Benoît
>>>>>>
>>>>>> Impeccable !
>>>>>> Ravi d'apprendre ça ;-)
>>>>>>
>>>>>> Le projet sur lequel je vais apporter une grosse contribution  
>>>>>> (face
>>>>>> à la documentation ect ...)
>>>>>> c'est de faire un composant GB pour le framework Cocoa pour
>>>>>> l'intégration d'applications
>>>>>> fait en Gambas dans un environnement Mac OS X :) .
>>>>>>
>>>>>> Je vais mettre tout ça en place pour la compilation et je te  
>>>>>> tiens
>>>>>> au courant pour un premier
>>>>>> rapport.
>>>>>>
>>>>>> François.
>>>>
>>>> Bon benoit, j'ai grand besoin de toi car dans l'état actuelle, je  
>>>> ne
>>>> comprends pas le pourquoi
>>>> du plantage de la compilation de GBC.
>>>>
>>>> Aprés avoir installé les libs principaux strict minimun j'obtiens
>>>> aprés un ./configure global :
>>>>
>>>> ************************************************************
>>>>
>>>> THESE COMPONENTS ARE DISABLED:
>>>> -e
>>>
>>> Ce "-e" n'est pas normal...
>>>
>>>> - gb.corba
>>>> - gb.crypt
>>>> - gb.db.firebird
>>>> - gb.db.mysql
>>>> - gb.db.odbc
>>>> - gb.db.postgresql
>>>> - gb.db.sqlite2
>>>> - gb.opengl
>>>> - gb.pcre
>>>> - gb.qt
>>>> - gb.qt.kde
>>>> - gb.sdl
>>>> - gb.sdl.sound
>>>> - gb.v4l
>>>>
>>>> ************************************************************
>>>>
>>>> Bon bizarrement gb.qt étant désactivé, je ne sais pas si c'est le  
>>>> fait
>>>> que c'est pas le même chemin vers la libs sur Mac OS X ou juste
>>>> que c'est la version 3 de gb.qt et non 4, fin bref, "pour le  
>>>> moment"
>>>> j'ai passé a travers. (le composant gb.gtk+ est passé sans soucis  
>>>> par
>>>> contre)
>>>
>>> Envoie-moi la sortie complète de ./configure pour que je regarde.
>>>
>>>> Je résume les étapes des commandes que j'ai effectué (dans le  
>>>> trunk/ ) :
>>>>
>>>> ./reconf-all
>>>> ./configure
>>>>
>>>> et lors du make, voici là ou ca tape :
>>>>
>>>> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
>>>> libltdl  -
>>>> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -
>>>> Wall -
>>>> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT  
>>>> gbx3-
>>>> gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-
>>>> gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
>>>> gb_common.c:38: error: syntax error before ‘_oldsegv’
>>>
>>> Il doit manquer la définition du type sighandler_t. Essaie en  
>>> remplaçant
>>> /trunk/main/share/gb_common.h par le fichier joint. J'y définie le  
>>> type
>>> dans le cas où la constante OS_MACOSX est définie. Cette constante  
>>> est
>>> définie par le script ./configure lorsque Mac OS X est détecté.
>>>
>>> Il faudrait que tu vérifies quelle est ta version de gcc aussi. Deux
>>> version différentes ne donnent pas les mêmes warnings...
>>
>> Ah j'ai compris ! Mac OS X est basé sur FreeBSD. Peut-être que le  
>> plus simple
>> est de définir OS_FREEBSD lorsque OS_MACOSX est défini. Essaie-donc  
>> plutôt ce
>> fichier-ci...
>>
> Oui Mac OS X est basé sur FreeBSD :) . Je n'ai pas fait la remarque  
> car je pensais
> que tu le savais lol. C'est pas bien grave.
>
> Donc bon j'ai du nouveau avec le fichier gb_common.h que tu m'as  
> envoyé, ca a l'air
> de marcher, j'ai une autre erreur provenant maintenant de gb_error.h
>
> (cd .libs && rm -f gb.0.so && ln -s gb.0.0.0.so gb.0.so)
> (cd .libs && rm -f gb.so && ln -s gb.0.0.0.so gb.so)
> creating gb.la
> (cd .libs && rm -f gb.la && ln -s ../gb.la gb.la)
> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  
> -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall  
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-
> gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-
> gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
> mv -f .deps/gbx3-gb_common.Tpo .deps/gbx3-gb_common.Po
> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  
> -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall  
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-
> gbx_debug.o -MD -MP -MF .deps/gbx3-gbx_debug.Tpo -c -o gbx3-
> gbx_debug.o `test -f 'gbx_debug.c' || echo './'`gbx_debug.c
> mv -f .deps/gbx3-gbx_debug.Tpo .deps/gbx3-gbx_debug.Po
> if gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
> libltdl  -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -
> pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -
> Os -O3  -MT gbx3-gb_error.o -MD -MP -MF ".deps/gbx3-gb_error.Tpo" -c  
> -o gbx3-gb_error.o `test -f 'gb_error.c' || echo './'`gb_error.c;  
> then mv -f ".deps/gbx3-gb_error.Tpo" ".deps/gbx3-gb_error.Po"; else  
> rm -f ".deps/gbx3-gb_error.Tpo"; exit 1; fi
> gb_error.c:435: error: conflicting types for ‘ERROR_print_at’
> gb_error.h:202: error: previous declaration of ‘ERROR_print_at’ was  
> here
> make[2]: *** [gbx3-gb_error.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> imac-de-francois-gallo:main francois$
>

Informations relative à Mac OS X de l'environnement de développement :

GCC : i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)
Autoconf : autoconf (GNU Autoconf) 2.61
Automake : automake (GNU automake) 1.10
libtool : Apple Computer, Inc. version cctools-698.1
Make : GNU Make 3.81

>> --
>> Benoît
>> <
>> gb_common
>> .h
>> >
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Gambas-user-fr mailing list
>> Gambas-user-fr@...
>> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
>


------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by Benoît Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>
> Oui Mac OS X est basé sur FreeBSD :) . Je n'ai pas fait la remarque
> car je pensais
> que tu le savais lol. C'est pas bien grave.

Je le savais en fait, mais je ne savais pas que *c'était* un FreeBSD. Enfin
plus ou moins émulé je crois...

>
> Donc bon j'ai du nouveau avec le fichier gb_common.h que tu m'as
> envoyé, ca a l'air
> de marcher, j'ai une autre erreur provenant maintenant de gb_error.h
>
> (cd .libs && rm -f gb.0.so && ln -s gb.0.0.0.so gb.0.so)
> (cd .libs && rm -f gb.so && ln -s gb.0.0.0.so gb.so)
> creating gb.la
> (cd .libs && rm -f gb.la && ln -s ../gb.la gb.la)
> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -
> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -
> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-
> gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-
> gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
> mv -f .deps/gbx3-gb_common.Tpo .deps/gbx3-gb_common.Po
> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -
> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -
> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-
> gbx_debug.o -MD -MP -MF .deps/gbx3-gbx_debug.Tpo -c -o gbx3-
> gbx_debug.o `test -f 'gbx_debug.c' || echo './'`gbx_debug.c
> mv -f .deps/gbx3-gbx_debug.Tpo .deps/gbx3-gbx_debug.Po
> if gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
> libltdl  -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -
> pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -
> O3  -MT gbx3-gb_error.o -MD -MP -MF ".deps/gbx3-gb_error.Tpo" -c -o
> gbx3-gb_error.o `test -f 'gb_error.c' || echo './'`gb_error.c; then mv
> -f ".deps/gbx3-gb_error.Tpo" ".deps/gbx3-gb_error.Po"; else rm -f
> ".deps/gbx3-gb_error.Tpo"; exit 1; fi
> gb_error.c:435: error: conflicting types for ‘ERROR_print_at’
> gb_error.h:202: error: previous declaration of ‘ERROR_print_at’ was here

Chez moi les deux lignes sont identiques, donc tu ne devrais pas avoir
d'erreur... ???

Tapes ça:

$ cd <le chemin qui va bien>
$ gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl  -
I/usr/include/ffi/  -DGAMBAS_PATH="\"/usr/local/bin\"" -E gb_error.c | less

Ca génère le code C réellement compilé.

Avec "less", cherche ERROR_print_at, et compare la déclaration avec
l'implémentation. Dis-moi si c'est identique ou pas.

--
Benoît

------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by GarulfoUnix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 4 juil. 09 à 15:30, Benoît Minisini a écrit :

>>
>> Oui Mac OS X est basé sur FreeBSD :) . Je n'ai pas fait la remarque
>> car je pensais
>> que tu le savais lol. C'est pas bien grave.
>
> Je le savais en fait, mais je ne savais pas que *c'était* un  
> FreeBSD. Enfin
> plus ou moins émulé je crois...
>
>>
>> Donc bon j'ai du nouveau avec le fichier gb_common.h que tu m'as
>> envoyé, ca a l'air
>> de marcher, j'ai une autre erreur provenant maintenant de gb_error.h
>>
>> (cd .libs && rm -f gb.0.so && ln -s gb.0.0.0.so gb.0.so)
>> (cd .libs && rm -f gb.so && ln -s gb.0.0.0.so gb.so)
>> creating gb.la
>> (cd .libs && rm -f gb.la && ln -s ../gb.la gb.la)
>> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
>> libltdl  -
>> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -
>> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-
>> gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-
>> gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
>> mv -f .deps/gbx3-gb_common.Tpo .deps/gbx3-gb_common.Po
>> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
>> libltdl  -
>> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -
>> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-
>> gbx_debug.o -MD -MP -MF .deps/gbx3-gbx_debug.Tpo -c -o gbx3-
>> gbx_debug.o `test -f 'gbx_debug.c' || echo './'`gbx_debug.c
>> mv -f .deps/gbx3-gbx_debug.Tpo .deps/gbx3-gbx_debug.Po
>> if gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
>> libltdl  -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -
>> pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -
>> Os -
>> O3  -MT gbx3-gb_error.o -MD -MP -MF ".deps/gbx3-gb_error.Tpo" -c -o
>> gbx3-gb_error.o `test -f 'gb_error.c' || echo './'`gb_error.c; then  
>> mv
>> -f ".deps/gbx3-gb_error.Tpo" ".deps/gbx3-gb_error.Po"; else rm -f
>> ".deps/gbx3-gb_error.Tpo"; exit 1; fi
>> gb_error.c:435: error: conflicting types for ‘ERROR_print_at’
>> gb_error.h:202: error: previous declaration of ‘ERROR_print_at’ was  
>> here
>
> Chez moi les deux lignes sont identiques, donc tu ne devrais pas avoir
> d'erreur... ???
>
> Tapes ça:
>
> $ cd <le chemin qui va bien>
> $ gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl  -
> I/usr/include/ffi/  -DGAMBAS_PATH="\"/usr/local/bin\"" -E gb_error.c  
> | less
>
> Ca génère le code C réellement compilé.
>
> Avec "less", cherche ERROR_print_at, et compare la déclaration avec
> l'implémentation. Dis-moi si c'est identique ou pas.
>

Oui c'est identique.

> --
> Benoît
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user-fr mailing list
> Gambas-user-fr@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr


------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by Laurent Carlier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le samedi 04 juillet 2009 17:22:26 François Gallo, vous avez écrit :

> Le 4 juil. 09 à 15:30, Benoît Minisini a écrit :
> >> Oui Mac OS X est basé sur FreeBSD :) . Je n'ai pas fait la remarque
> >> car je pensais
> >> que tu le savais lol. C'est pas bien grave.
> >
> > Je le savais en fait, mais je ne savais pas que *c'était* un
> > FreeBSD. Enfin
> > plus ou moins émulé je crois...
> >
> >> Donc bon j'ai du nouveau avec le fichier gb_common.h que tu m'as
> >> envoyé, ca a l'air
> >> de marcher, j'ai une autre erreur provenant maintenant de gb_error.h
> >>
> >> (cd .libs && rm -f gb.0.so && ln -s gb.0.0.0.so gb.0.so)
> >> (cd .libs && rm -f gb.so && ln -s gb.0.0.0.so gb.so)
> >> creating gb.la
> >> (cd .libs && rm -f gb.la && ln -s ../gb.la gb.la)
> >> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
> >> libltdl  -
> >> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -
> >> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-
> >> gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-
> >> gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
> >> mv -f .deps/gbx3-gb_common.Tpo .deps/gbx3-gb_common.Po
> >> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
> >> libltdl  -
> >> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -
> >> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-
> >> gbx_debug.o -MD -MP -MF .deps/gbx3-gbx_debug.Tpo -c -o gbx3-
> >> gbx_debug.o `test -f 'gbx_debug.c' || echo './'`gbx_debug.c
> >> mv -f .deps/gbx3-gbx_debug.Tpo .deps/gbx3-gbx_debug.Po
> >> if gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
> >> libltdl  -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -
> >> pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -
> >> Os -
> >> O3  -MT gbx3-gb_error.o -MD -MP -MF ".deps/gbx3-gb_error.Tpo" -c -o
> >> gbx3-gb_error.o `test -f 'gb_error.c' || echo './'`gb_error.c; then
> >> mv
> >> -f ".deps/gbx3-gb_error.Tpo" ".deps/gbx3-gb_error.Po"; else rm -f
> >> ".deps/gbx3-gb_error.Tpo"; exit 1; fi
> >> gb_error.c:435: error: conflicting types for ‘ERROR_print_at’
> >> gb_error.h:202: error: previous declaration of ‘ERROR_print_at’ was
> >> here
> >
> > Chez moi les deux lignes sont identiques, donc tu ne devrais pas avoir
> > d'erreur... ???
> >
> > Tapes ça:
> >
> > $ cd <le chemin qui va bien>
> > $ gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl  -
> > I/usr/include/ffi/  -DGAMBAS_PATH="\"/usr/local/bin\"" -E gb_error.c
> >
> > | less
> >
> > Ca génère le code C réellement compilé.
> >
> > Avec "less", cherche ERROR_print_at, et compare la déclaration avec
> > l'implémentation. Dis-moi si c'est identique ou pas.
>
> Oui c'est identique.
>
> > --
> > Benoît
> >
> > -------------------------------------------------------------------------
> >----- _______________________________________________
> > Gambas-user-fr mailing list
> > Gambas-user-fr@...
> > https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
>
> ---------------------------------------------------------------------------
>--- _______________________________________________
> Gambas-user-fr mailing list
> Gambas-user-fr@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

et en ajoutant un #include "gb_common.h" à gb_error.h ?



------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by GarulfoUnix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 4 juil. 09 à 17:53, Laurent Carlier a écrit :

> Le samedi 04 juillet 2009 17:22:26 François Gallo, vous avez écrit :
>> Le 4 juil. 09 à 15:30, Benoît Minisini a écrit :
>>>> Oui Mac OS X est basé sur FreeBSD :) . Je n'ai pas fait la remarque
>>>> car je pensais
>>>> que tu le savais lol. C'est pas bien grave.
>>>
>>> Je le savais en fait, mais je ne savais pas que *c'était* un
>>> FreeBSD. Enfin
>>> plus ou moins émulé je crois...
>>>
>>>> Donc bon j'ai du nouveau avec le fichier gb_common.h que tu m'as
>>>> envoyé, ca a l'air
>>>> de marcher, j'ai une autre erreur provenant maintenant de  
>>>> gb_error.h
>>>>
>>>> (cd .libs && rm -f gb.0.so && ln -s gb.0.0.0.so gb.0.so)
>>>> (cd .libs && rm -f gb.so && ln -s gb.0.0.0.so gb.so)
>>>> creating gb.la
>>>> (cd .libs && rm -f gb.la && ln -s ../gb.la gb.la)
>>>> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
>>>> libltdl  -
>>>> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -
>>>> Wall -
>>>> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT  
>>>> gbx3-
>>>> gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-
>>>> gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
>>>> mv -f .deps/gbx3-gb_common.Tpo .deps/gbx3-gb_common.Po
>>>> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
>>>> libltdl  -
>>>> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -
>>>> Wall -
>>>> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT  
>>>> gbx3-
>>>> gbx_debug.o -MD -MP -MF .deps/gbx3-gbx_debug.Tpo -c -o gbx3-
>>>> gbx_debug.o `test -f 'gbx_debug.c' || echo './'`gbx_debug.c
>>>> mv -f .deps/gbx3-gbx_debug.Tpo .deps/gbx3-gbx_debug.Po
>>>> if gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
>>>> libltdl  -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -
>>>> pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -
>>>> Os -
>>>> O3  -MT gbx3-gb_error.o -MD -MP -MF ".deps/gbx3-gb_error.Tpo" -c -o
>>>> gbx3-gb_error.o `test -f 'gb_error.c' || echo './'`gb_error.c; then
>>>> mv
>>>> -f ".deps/gbx3-gb_error.Tpo" ".deps/gbx3-gb_error.Po"; else rm -f
>>>> ".deps/gbx3-gb_error.Tpo"; exit 1; fi
>>>> gb_error.c:435: error: conflicting types for ‘ERROR_print_at’
>>>> gb_error.h:202: error: previous declaration of ‘ERROR_print_at’ was
>>>> here
>>>
>>> Chez moi les deux lignes sont identiques, donc tu ne devrais pas  
>>> avoir
>>> d'erreur... ???
>>>
>>> Tapes ça:
>>>
>>> $ cd <le chemin qui va bien>
>>> $ gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../
>>> libltdl  -
>>> I/usr/include/ffi/  -DGAMBAS_PATH="\"/usr/local/bin\"" -E gb_error.c
>>>
>>> | less
>>>
>>> Ca génère le code C réellement compilé.
>>>
>>> Avec "less", cherche ERROR_print_at, et compare la déclaration avec
>>> l'implémentation. Dis-moi si c'est identique ou pas.
>>
>> Oui c'est identique.
>>
>>> --
>>> Benoît
>>>
>>> -------------------------------------------------------------------------
>>> ----- _______________________________________________
>>> Gambas-user-fr mailing list
>>> Gambas-user-fr@...
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
>>
>> ---------------------------------------------------------------------------
>> --- _______________________________________________
>> Gambas-user-fr mailing list
>> Gambas-user-fr@...
>> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
>
> et en ajoutant un #include "gb_common.h" à gb_error.h ?
>
>

Pour ma part ça ne change rien.

>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user-fr mailing list
> Gambas-user-fr@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr


------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by Laurent Carlier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le samedi 04 juillet 2009 17:59:34 François Gallo, vous avez écrit :

> Le 4 juil. 09 à 17:53, Laurent Carlier a écrit :
> > Le samedi 04 juillet 2009 17:22:26 François Gallo, vous avez écrit :
> >> Le 4 juil. 09 à 15:30, Benoît Minisini a écrit :
> >>>> Oui Mac OS X est basé sur FreeBSD :) . Je n'ai pas fait la remarque
> >>>> car je pensais
> >>>> que tu le savais lol. C'est pas bien grave.
> >>>
> >>> Je le savais en fait, mais je ne savais pas que *c'était* un
> >>> FreeBSD. Enfin
> >>> plus ou moins émulé je crois...
> >>>
> >>>> Donc bon j'ai du nouveau avec le fichier gb_common.h que tu m'as
> >>>> envoyé, ca a l'air
> >>>> de marcher, j'ai une autre erreur provenant maintenant de
> >>>> gb_error.h
> >>>>
> >>>> (cd .libs && rm -f gb.0.so && ln -s gb.0.0.0.so gb.0.so)
> >>>> (cd .libs && rm -f gb.so && ln -s gb.0.0.0.so gb.so)
> >>>> creating gb.la
> >>>> (cd .libs && rm -f gb.la && ln -s ../gb.la gb.la)
> >>>> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
> >>>> libltdl  -
> >>>> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -
> >>>> Wall -
> >>>> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT
> >>>> gbx3-
> >>>> gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-
> >>>> gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
> >>>> mv -f .deps/gbx3-gb_common.Tpo .deps/gbx3-gb_common.Po
> >>>> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
> >>>> libltdl  -
> >>>> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -
> >>>> Wall -
> >>>> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT
> >>>> gbx3-
> >>>> gbx_debug.o -MD -MP -MF .deps/gbx3-gbx_debug.Tpo -c -o gbx3-
> >>>> gbx_debug.o `test -f 'gbx_debug.c' || echo './'`gbx_debug.c
> >>>> mv -f .deps/gbx3-gbx_debug.Tpo .deps/gbx3-gbx_debug.Po
> >>>> if gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
> >>>> libltdl  -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -
> >>>> pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -
> >>>> Os -
> >>>> O3  -MT gbx3-gb_error.o -MD -MP -MF ".deps/gbx3-gb_error.Tpo" -c -o
> >>>> gbx3-gb_error.o `test -f 'gb_error.c' || echo './'`gb_error.c; then
> >>>> mv
> >>>> -f ".deps/gbx3-gb_error.Tpo" ".deps/gbx3-gb_error.Po"; else rm -f
> >>>> ".deps/gbx3-gb_error.Tpo"; exit 1; fi
> >>>> gb_error.c:435: error: conflicting types for ‘ERROR_print_at’
> >>>> gb_error.h:202: error: previous declaration of ‘ERROR_print_at’ was
> >>>> here
> >>>
> >>> Chez moi les deux lignes sont identiques, donc tu ne devrais pas
> >>> avoir
> >>> d'erreur... ???
> >>>
> >>> Tapes ça:
> >>>
> >>> $ cd <le chemin qui va bien>
> >>> $ gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../
> >>> libltdl  -
> >>> I/usr/include/ffi/  -DGAMBAS_PATH="\"/usr/local/bin\"" -E gb_error.c
> >>>
> >>> | less
> >>>
> >>> Ca génère le code C réellement compilé.
> >>>
> >>> Avec "less", cherche ERROR_print_at, et compare la déclaration avec
> >>> l'implémentation. Dis-moi si c'est identique ou pas.
> >>
> >> Oui c'est identique.
> >>
> >>> --
> >>> Benoît
> >>>
> >>> -----------------------------------------------------------------------
> >>>-- ----- _______________________________________________
> >>> Gambas-user-fr mailing list
> >>> Gambas-user-fr@...
> >>> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
> >>
> >> ------------------------------------------------------------------------
> >>--- --- _______________________________________________
> >> Gambas-user-fr mailing list
> >> Gambas-user-fr@...
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
> >
> > et en ajoutant un #include "gb_common.h" à gb_error.h ?
>
> Pour ma part ça ne change rien.
>
> > -------------------------------------------------------------------------
> >----- _______________________________________________
> > Gambas-user-fr mailing list
> > Gambas-user-fr@...
> > https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
>
> ---------------------------------------------------------------------------
>--- _______________________________________________
> Gambas-user-fr mailing list
> Gambas-user-fr@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Il serait possible d'avoir la sortie complète du processus dans main (après un
make clean)

./ configure
make

merci


------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by François Gallo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Le 4 juillet 2009 18:59, Laurent Carlier <lordheavym@...> a écrit :
Le samedi 04 juillet 2009 17:59:34 François Gallo, vous avez écrit :
> Le 4 juil. 09 à 17:53, Laurent Carlier a écrit :
> > Le samedi 04 juillet 2009 17:22:26 François Gallo, vous avez écrit :
> >> Le 4 juil. 09 à 15:30, Benoît Minisini a écrit :
> >>>> Oui Mac OS X est basé sur FreeBSD :) . Je n'ai pas fait la remarque
> >>>> car je pensais
> >>>> que tu le savais lol. C'est pas bien grave.
> >>>
> >>> Je le savais en fait, mais je ne savais pas que *c'était* un
> >>> FreeBSD. Enfin
> >>> plus ou moins émulé je crois...
> >>>
> >>>> Donc bon j'ai du nouveau avec le fichier gb_common.h que tu m'as
> >>>> envoyé, ca a l'air
> >>>> de marcher, j'ai une autre erreur provenant maintenant de
> >>>> gb_error.h
> >>>>
> >>>> (cd .libs && rm -f gb.0.so && ln -s gb.0.0.0.so gb.0.so)
> >>>> (cd .libs && rm -f gb.so && ln -s gb.0.0.0.so gb.so)
> >>>> creating gb.la
> >>>> (cd .libs && rm -f gb.la && ln -s ../gb.la gb.la)
> >>>> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
> >>>> libltdl  -
> >>>> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -
> >>>> Wall -
> >>>> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT
> >>>> gbx3-
> >>>> gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-
> >>>> gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
> >>>> mv -f .deps/gbx3-gb_common.Tpo .deps/gbx3-gb_common.Po
> >>>> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
> >>>> libltdl  -
> >>>> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -
> >>>> Wall -
> >>>> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT
> >>>> gbx3-
> >>>> gbx_debug.o -MD -MP -MF .deps/gbx3-gbx_debug.Tpo -c -o gbx3-
> >>>> gbx_debug.o `test -f 'gbx_debug.c' || echo './'`gbx_debug.c
> >>>> mv -f .deps/gbx3-gbx_debug.Tpo .deps/gbx3-gbx_debug.Po
> >>>> if gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
> >>>> libltdl  -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -
> >>>> pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -
> >>>> Os -
> >>>> O3  -MT gbx3-gb_error.o -MD -MP -MF ".deps/gbx3-gb_error.Tpo" -c -o
> >>>> gbx3-gb_error.o `test -f 'gb_error.c' || echo './'`gb_error.c; then
> >>>> mv
> >>>> -f ".deps/gbx3-gb_error.Tpo" ".deps/gbx3-gb_error.Po"; else rm -f
> >>>> ".deps/gbx3-gb_error.Tpo"; exit 1; fi
> >>>> gb_error.c:435: error: conflicting types for ‘ERROR_print_at’
> >>>> gb_error.h:202: error: previous declaration of ‘ERROR_print_at’ was
> >>>> here
> >>>
> >>> Chez moi les deux lignes sont identiques, donc tu ne devrais pas
> >>> avoir
> >>> d'erreur... ???
> >>>
> >>> Tapes ça:
> >>>
> >>> $ cd <le chemin qui va bien>
> >>> $ gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../
> >>> libltdl  -
> >>> I/usr/include/ffi/  -DGAMBAS_PATH="\"/usr/local/bin\"" -E gb_error.c
> >>>
> >>> | less
> >>>
> >>> Ca génère le code C réellement compilé.
> >>>
> >>> Avec "less", cherche ERROR_print_at, et compare la déclaration avec
> >>> l'implémentation. Dis-moi si c'est identique ou pas.
> >>
> >> Oui c'est identique.
> >>
> >>> --
> >>> Benoît
> >>>
> >>> -----------------------------------------------------------------------
> >>>-- ----- _______________________________________________
> >>> Gambas-user-fr mailing list
> >>> Gambas-user-fr@...
> >>> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
> >>
> >> ------------------------------------------------------------------------
> >>--- --- _______________________________________________
> >> Gambas-user-fr mailing list
> >> Gambas-user-fr@...
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
> >
> > et en ajoutant un #include "gb_common.h" à gb_error.h ?
>
> Pour ma part ça ne change rien.
>
> > -------------------------------------------------------------------------
> >----- _______________________________________________
> > Gambas-user-fr mailing list
> > Gambas-user-fr@...
> > https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
>
> ---------------------------------------------------------------------------
>--- _______________________________________________
> Gambas-user-fr mailing list
> Gambas-user-fr@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Il serait possible d'avoir la sortie complète du processus dans main (après un
make clean)

./ configure
make

merci


Je ne suis pas chez moi, mais je donne ça dès que possible ;-)

François.

------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr


------------------------------------------------------------------------------

_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by GarulfoUnix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 4 juil. 09 à 20:55, François Gallo a écrit :



Le 4 juillet 2009 18:59, Laurent Carlier <lordheavym@...> a écrit :
Le samedi 04 juillet 2009 17:59:34 François Gallo, vous avez écrit :
> Le 4 juil. 09 à 17:53, Laurent Carlier a écrit :
> > Le samedi 04 juillet 2009 17:22:26 François Gallo, vous avez écrit :
> >> Le 4 juil. 09 à 15:30, Benoît Minisini a écrit :
> >>>> Oui Mac OS X est basé sur FreeBSD :) . Je n'ai pas fait la remarque
> >>>> car je pensais
> >>>> que tu le savais lol. C'est pas bien grave.
> >>>
> >>> Je le savais en fait, mais je ne savais pas que *c'était* un
> >>> FreeBSD. Enfin
> >>> plus ou moins émulé je crois...
> >>>
> >>>> Donc bon j'ai du nouveau avec le fichier gb_common.h que tu m'as
> >>>> envoyé, ca a l'air
> >>>> de marcher, j'ai une autre erreur provenant maintenant de
> >>>> gb_error.h
> >>>>
> >>>> (cd .libs && rm -f gb.0.so && ln -s gb.0.0.0.so gb.0.so)
> >>>> (cd .libs && rm -f gb.so && ln -s gb.0.0.0.so gb.so)
> >>>> creating gb.la
> >>>> (cd .libs && rm -f gb.la && ln -s ../gb.la gb.la)
> >>>> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
> >>>> libltdl  -
> >>>> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -
> >>>> Wall -
> >>>> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT
> >>>> gbx3-
> >>>> gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-
> >>>> gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
> >>>> mv -f .deps/gbx3-gb_common.Tpo .deps/gbx3-gb_common.Po
> >>>> gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
> >>>> libltdl  -
> >>>> I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -
> >>>> Wall -
> >>>> Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT
> >>>> gbx3-
> >>>> gbx_debug.o -MD -MP -MF .deps/gbx3-gbx_debug.Tpo -c -o gbx3-
> >>>> gbx_debug.o `test -f 'gbx_debug.c' || echo './'`gbx_debug.c
> >>>> mv -f .deps/gbx3-gbx_debug.Tpo .deps/gbx3-gbx_debug.Po
> >>>> if gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../
> >>>> libltdl  -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -
> >>>> pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -
> >>>> Os -
> >>>> O3  -MT gbx3-gb_error.o -MD -MP -MF ".deps/gbx3-gb_error.Tpo" -c -o
> >>>> gbx3-gb_error.o `test -f 'gb_error.c' || echo './'`gb_error.c; then
> >>>> mv
> >>>> -f ".deps/gbx3-gb_error.Tpo" ".deps/gbx3-gb_error.Po"; else rm -f
> >>>> ".deps/gbx3-gb_error.Tpo"; exit 1; fi
> >>>> gb_error.c:435: error: conflicting types for ‘ERROR_print_at’
> >>>> gb_error.h:202: error: previous declaration of ‘ERROR_print_at’ was
> >>>> here
> >>>
> >>> Chez moi les deux lignes sont identiques, donc tu ne devrais pas
> >>> avoir
> >>> d'erreur... ???
> >>>
> >>> Tapes ça:
> >>>
> >>> $ cd <le chemin qui va bien>
> >>> $ gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../
> >>> libltdl  -
> >>> I/usr/include/ffi/  -DGAMBAS_PATH="\"/usr/local/bin\"" -E gb_error.c
> >>>
> >>> | less
> >>>
> >>> Ca génère le code C réellement compilé.
> >>>
> >>> Avec "less", cherche ERROR_print_at, et compare la déclaration avec
> >>> l'implémentation. Dis-moi si c'est identique ou pas.
> >>
> >> Oui c'est identique.
> >>
> >>> --
> >>> Benoît
> >>>
> >>> -----------------------------------------------------------------------
> >>>-- ----- _______________________________________________
> >>> Gambas-user-fr mailing list
> >>> Gambas-user-fr@...
> >>> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
> >>
> >> ------------------------------------------------------------------------
> >>--- --- _______________________________________________
> >> Gambas-user-fr mailing list
> >> Gambas-user-fr@...
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
> >
> > et en ajoutant un #include "gb_common.h" à gb_error.h ?
>
> Pour ma part ça ne change rien.
>
> > -------------------------------------------------------------------------
> >----- _______________________________________________
> > Gambas-user-fr mailing list
> > Gambas-user-fr@...
> > https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
>
> ---------------------------------------------------------------------------
>--- _______________________________________________
> Gambas-user-fr mailing list
> Gambas-user-fr@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Il serait possible d'avoir la sortie complète du processus dans main (après un
make clean)

./ configure
make

merci


Je ne suis pas chez moi, mais je donne ça dès que possible ;-)

François.

Voici les 2 fichiers contenants les infos de ./configure et make
mais ça semble être tronqué :( . 

Commande que j'ai fait :

./configure > /Users/francois/gb_configure.txt
make > /Users/francois/gb_make.txt

Le make clean a bien était fait au préalable. 

Benoit tu ne veux pas un accés SSH pour essayer de régler ça en "temps réel" ??
Tu es le mieux placé quand c'est question de code du core pour GB. 


------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr


------------------------------------------------------------------------------

_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by Laurent Carlier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le dimanche 05 juillet 2009 14:45:44 François Gallo, vous avez écrit :

>
> Voici les 2 fichiers contenants les infos de ./configure et make
> mais ça semble être tronqué :( .
>
> Commande que j'ai fait :
>
> ./configure > /Users/francois/gb_configure.txt
> make > /Users/francois/gb_make.txt
>
> Le make clean a bien était fait au préalable.
>
> Benoit tu ne veux pas un accés SSH pour essayer de régler ça en "temps
> réel" ??
> Tu es le mieux placé quand c'est question de code du core pour GB.
>


http://64.128.110.55/help/readme

"Si ça ne marche pas, j'ai besoin de savoir ce qui s'est passé exactement.
Pour cela, tapez la commande suivante :
$ ( ./configure; make; make install ) > output.txt 2>&1

 Et envoyez-moi par email le fichier "output.txt", avec tous les détails que
vous trouverez pertinents concernant votre ordinateur et votre distribution."

;-p


------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by GarulfoUnix :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Le 5 juil. 09 à 15:24, Laurent Carlier a écrit :

> Le dimanche 05 juillet 2009 14:45:44 François Gallo, vous avez écrit :
>>
>> Voici les 2 fichiers contenants les infos de ./configure et make
>> mais ça semble être tronqué :( .
>>
>> Commande que j'ai fait :
>>
>> ./configure > /Users/francois/gb_configure.txt
>> make > /Users/francois/gb_make.txt
>>
>> Le make clean a bien était fait au préalable.
>>
>> Benoit tu ne veux pas un accés SSH pour essayer de régler ça en  
>> "temps
>> réel" ??
>> Tu es le mieux placé quand c'est question de code du core pour GB.
>>
>
>
> http://64.128.110.55/help/readme
>
> "Si ça ne marche pas, j'ai besoin de savoir ce qui s'est passé  
> exactement.
> Pour cela, tapez la commande suivante :
> $ ( ./configure; make; make install ) > output.txt 2>&1
>
> Et envoyez-moi par email le fichier "output.txt", avec tous les  
> détails que
> vous trouverez pertinents concernant votre ordinateur et votre  
> distribution."
>
> ;-p
>
>
hép !!
Merci lolo ;)

Voilà le output.txt :)


checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... i386-apple-darwin9.7.0
checking for style of include used by make... GNU
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i386-apple-darwin9.7.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for setenv... yes
checking for unsetenv... yes
checking for getdomainname... yes
checking for getpt... no
checking for cfmakeraw... yes
checking for main in -lm... yes
-n
checking for main in -lz... yes
-n
checking for main in -lgcc_s... no
checking for main in -lstdc++... yes
checking target system... MACOSX
checking which extension is used for shared libraries... .dylib
checking for threading compiler options... -D_REENTRANT
checking for threading linker options... -lpthread
checking for mathematic libraries... -lm
checking for external gettext library...
checking for ccache... no
checking CFLAGS for gcc -fvisibility=hidden... -fvisibility=hidden
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no
checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -p output from gcc object... rm: conftest.dSYM: is a directory
ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no
checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.7.0 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking whether gcc and cc understand -c and -o together... yes
checking for external internationalization library headers... no
configure: WARNING: Unable to find file: libintl.h
checking for external internationalization library libraries... no
configure: WARNING: Unable to find file: libintl.dylib
configure: This library may be located inside the system C library, so let's go on...
checking for optional external charset conversion library headers... /usr/include/
checking for optional external charset conversion library libraries... /usr/lib/
checking for foreign function interface component with pkg-config... ./configure: line 22180: pkg-config: command not found
no
checking for foreign function interface headers... /usr/include/ffi/
checking for foreign function interface libraries... /usr/lib/
checking for xdg-mime... no
checking for xdg-icon-resource... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating share/Makefile
config.status: creating gbc/Makefile
config.status: creating gbx/Makefile
config.status: creating lib/Makefile
config.status: creating lib/debug/Makefile
config.status: creating lib/eval/Makefile
config.status: creating lib/db/Makefile
config.status: creating lib/vb/Makefile
config.status: creating lib/compress/Makefile
config.status: creating lib/option/Makefile
config.status: creating lib/draw/Makefile
config.status: creating lib/gui/Makefile
config.status: creating lib/image/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
=== configuring in libltdl (/Users/francois/trunk/main/libltdl)
configure: running /bin/sh ./configure '--prefix=/usr/local'  '--enable-ltdl-convenience' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking build system type... i386-apple-darwin9.7.0
checking host system type... i386-apple-darwin9.7.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no
checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -p output from gcc object... rm: conftest.dSYM: is a directory
ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
rm: conftest.dSYM: is a directory
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no
checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.7.0 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking which extension is used for loadable modules... .so
checking which variable specifies run-time library path... DYLD_LIBRARY_PATH
checking for the default library search path... /usr/local/lib /lib /usr/lib
checking for objdir... .libs
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen in -ldl... yes
checking for dlerror... yes
checking for _ prefix in compiled symbols... yes
checking whether we have to add an underscore for dlsym... no
checking whether deplibs are loaded by dlopen... yes
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking for error_t... no
checking for argz_append... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking sys/dl.h usability... no
checking sys/dl.h presence... no
checking for sys/dl.h... no
checking dld.h usability... no
checking dld.h presence... no
checking for dld.h... no
checking mach-o/dyld.h usability... yes
checking mach-o/dyld.h presence... yes
checking for mach-o/dyld.h... yes
checking for string.h... (cached) yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strcmp... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make  all-recursive
Making all in libltdl
make  all-am
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -g -O2 -c -o ltdl.lo ltdl.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -g -O2 -c ltdl.c  -fno-common -DPIC -o .libs/ltdl.o
 gcc -DHAVE_CONFIG_H -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2   -o libltdlc.la  ltdl.lo -ldl
ar cru .libs/libltdlc.a .libs/ltdl.o
ranlib .libs/libltdlc.a
creating libltdlc.la
(cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la)
Making all in gbx
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0  -MT gb_la-gbx_c_class.lo -MD -MP -MF .deps/gb_la-gbx_c_class.Tpo -c -o gb_la-gbx_c_class.lo `test -f 'gbx_c_class.c' || echo './'`gbx_c_class.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl -I/usr/include/ffi/ -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_c_class.lo -MD -MP -MF .deps/gb_la-gbx_c_class.Tpo -c gbx_c_class.c  -fno-common -DPIC -o .libs/gb_la-gbx_c_class.o
mv -f .deps/gb_la-gbx_c_class.Tpo .deps/gb_la-gbx_c_class.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0  -MT gb_la-gbx_c_collection.lo -MD -MP -MF .deps/gb_la-gbx_c_collection.Tpo -c -o gb_la-gbx_c_collection.lo `test -f 'gbx_c_collection.c' || echo './'`gbx_c_collection.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl -I/usr/include/ffi/ -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_c_collection.lo -MD -MP -MF .deps/gb_la-gbx_c_collection.Tpo -c gbx_c_collection.c  -fno-common -DPIC -o .libs/gb_la-gbx_c_collection.o
mv -f .deps/gb_la-gbx_c_collection.Tpo .deps/gb_la-gbx_c_collection.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0  -MT gb_la-gbx_c_error.lo -MD -MP -MF .deps/gb_la-gbx_c_error.Tpo -c -o gb_la-gbx_c_error.lo `test -f 'gbx_c_error.c' || echo './'`gbx_c_error.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl -I/usr/include/ffi/ -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_c_error.lo -MD -MP -MF .deps/gb_la-gbx_c_error.Tpo -c gbx_c_error.c  -fno-common -DPIC -o .libs/gb_la-gbx_c_error.o
mv -f .deps/gb_la-gbx_c_error.Tpo .deps/gb_la-gbx_c_error.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0  -MT gb_la-gbx_c_gambas.lo -MD -MP -MF .deps/gb_la-gbx_c_gambas.Tpo -c -o gb_la-gbx_c_gambas.lo `test -f 'gbx_c_gambas.c' || echo './'`gbx_c_gambas.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl -I/usr/include/ffi/ -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_c_gambas.lo -MD -MP -MF .deps/gb_la-gbx_c_gambas.Tpo -c gbx_c_gambas.c  -fno-common -DPIC -o .libs/gb_la-gbx_c_gambas.o
mv -f .deps/gb_la-gbx_c_gambas.Tpo .deps/gb_la-gbx_c_gambas.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0  -MT gb_la-gbx_c_file.lo -MD -MP -MF .deps/gb_la-gbx_c_file.Tpo -c -o gb_la-gbx_c_file.lo `test -f 'gbx_c_file.c' || echo './'`gbx_c_file.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl -I/usr/include/ffi/ -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_c_file.lo -MD -MP -MF .deps/gb_la-gbx_c_file.Tpo -c gbx_c_file.c  -fno-common -DPIC -o .libs/gb_la-gbx_c_file.o
mv -f .deps/gb_la-gbx_c_file.Tpo .deps/gb_la-gbx_c_file.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0  -MT gb_la-gbx_c_application.lo -MD -MP -MF .deps/gb_la-gbx_c_application.Tpo -c -o gb_la-gbx_c_application.lo `test -f 'gbx_c_application.c' || echo './'`gbx_c_application.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl -I/usr/include/ffi/ -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_c_application.lo -MD -MP -MF .deps/gb_la-gbx_c_application.Tpo -c gbx_c_application.c  -fno-common -DPIC -o .libs/gb_la-gbx_c_application.o
mv -f .deps/gb_la-gbx_c_application.Tpo .deps/gb_la-gbx_c_application.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0  -MT gb_la-gbx_c_array.lo -MD -MP -MF .deps/gb_la-gbx_c_array.Tpo -c -o gb_la-gbx_c_array.lo `test -f 'gbx_c_array.c' || echo './'`gbx_c_array.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl -I/usr/include/ffi/ -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_c_array.lo -MD -MP -MF .deps/gb_la-gbx_c_array.Tpo -c gbx_c_array.c  -fno-common -DPIC -o .libs/gb_la-gbx_c_array.o
mv -f .deps/gb_la-gbx_c_array.Tpo .deps/gb_la-gbx_c_array.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0  -MT gb_la-gbx_c_process.lo -MD -MP -MF .deps/gb_la-gbx_c_process.Tpo -c -o gb_la-gbx_c_process.lo `test -f 'gbx_c_process.c' || echo './'`gbx_c_process.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl -I/usr/include/ffi/ -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_c_process.lo -MD -MP -MF .deps/gb_la-gbx_c_process.Tpo -c gbx_c_process.c  -fno-common -DPIC -o .libs/gb_la-gbx_c_process.o
mv -f .deps/gb_la-gbx_c_process.Tpo .deps/gb_la-gbx_c_process.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0  -MT gb_la-gbx_c_string.lo -MD -MP -MF .deps/gb_la-gbx_c_string.Tpo -c -o gb_la-gbx_c_string.lo `test -f 'gbx_c_string.c' || echo './'`gbx_c_string.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl -I/usr/include/ffi/ -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_c_string.lo -MD -MP -MF .deps/gb_la-gbx_c_string.Tpo -c gbx_c_string.c  -fno-common -DPIC -o .libs/gb_la-gbx_c_string.o
mv -f .deps/gb_la-gbx_c_string.Tpo .deps/gb_la-gbx_c_string.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0  -MT gb_la-gbx_c_subcollection.lo -MD -MP -MF .deps/gb_la-gbx_c_subcollection.Tpo -c -o gb_la-gbx_c_subcollection.lo `test -f 'gbx_c_subcollection.c' || echo './'`gbx_c_subcollection.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl -I/usr/include/ffi/ -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_c_subcollection.lo -MD -MP -MF .deps/gb_la-gbx_c_subcollection.Tpo -c gbx_c_subcollection.c  -fno-common -DPIC -o .libs/gb_la-gbx_c_subcollection.o
mv -f .deps/gb_la-gbx_c_subcollection.Tpo .deps/gb_la-gbx_c_subcollection.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0  -MT gb_la-gbx_c_enum.lo -MD -MP -MF .deps/gb_la-gbx_c_enum.Tpo -c -o gb_la-gbx_c_enum.lo `test -f 'gbx_c_enum.c' || echo './'`gbx_c_enum.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl -I/usr/include/ffi/ -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_c_enum.lo -MD -MP -MF .deps/gb_la-gbx_c_enum.Tpo -c gbx_c_enum.c  -fno-common -DPIC -o .libs/gb_la-gbx_c_enum.o
mv -f .deps/gb_la-gbx_c_enum.Tpo .deps/gb_la-gbx_c_enum.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0  -MT gb_la-gbx_c_timer.lo -MD -MP -MF .deps/gb_la-gbx_c_timer.Tpo -c -o gb_la-gbx_c_timer.lo `test -f 'gbx_c_timer.c' || echo './'`gbx_c_timer.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl -I/usr/include/ffi/ -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_c_timer.lo -MD -MP -MF .deps/gb_la-gbx_c_timer.Tpo -c gbx_c_timer.c  -fno-common -DPIC -o .libs/gb_la-gbx_c_timer.o
mv -f .deps/gb_la-gbx_c_timer.Tpo .deps/gb_la-gbx_c_timer.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0  -MT gb_la-gbx_class_info.lo -MD -MP -MF .deps/gb_la-gbx_class_info.Tpo -c -o gb_la-gbx_class_info.lo `test -f 'gbx_class_info.c' || echo './'`gbx_class_info.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I../share -D_REENTRANT -I../libltdl -I/usr/include/ffi/ -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_class_info.lo -MD -MP -MF .deps/gb_la-gbx_class_info.Tpo -c gbx_class_info.c  -fno-common -DPIC -o .libs/gb_la-gbx_class_info.o
mv -f .deps/gb_la-gbx_class_info.Tpo .deps/gb_la-gbx_class_info.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0  -module -O1 -z defs   -o gb.la -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm   -liconv  -ldl -lpthread  -lffi
gcc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/gb.0.0.0.so -bundle  .libs/gb_la-gbx_c_class.o .libs/gb_la-gbx_c_collection.o .libs/gb_la-gbx_c_error.o .libs/gb_la-gbx_c_gambas.o .libs/gb_la-gbx_c_file.o .libs/gb_la-gbx_c_application.o .libs/gb_la-gbx_c_array.o .libs/gb_la-gbx_c_process.o .libs/gb_la-gbx_c_string.o .libs/gb_la-gbx_c_subcollection.o .libs/gb_la-gbx_c_enum.o .libs/gb_la-gbx_c_timer.o .libs/gb_la-gbx_class_info.o  -lm /usr/lib/libiconv.dylib -ldl -lpthread -lffi
dsymutil .libs/gb.0.0.0.so || :
(cd .libs && rm -f gb.0.so && ln -s gb.0.0.0.so gb.0.so)
(cd .libs && rm -f gb.so && ln -s gb.0.0.0.so gb.so)
creating gb.la
(cd .libs && rm -f gb.la && ln -s ../gb.la gb.la)
gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-gb_common.o -MD -MP -MF .deps/gbx3-gb_common.Tpo -c -o gbx3-gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c
mv -f .deps/gbx3-gb_common.Tpo .deps/gbx3-gb_common.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -MT gbx3-gbx_debug.o -MD -MP -MF .deps/gbx3-gbx_debug.Tpo -c -o gbx3-gbx_debug.o `test -f 'gbx_debug.c' || echo './'`gbx_debug.c
mv -f .deps/gbx3-gbx_debug.Tpo .deps/gbx3-gbx_debug.Po
if gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O3  -MT gbx3-gb_error.o -MD -MP -MF ".deps/gbx3-gb_error.Tpo" -c -o gbx3-gb_error.o `test -f 'gb_error.c' || echo './'`gb_error.c; then mv -f ".deps/gbx3-gb_error.Tpo" ".deps/gbx3-gb_error.Po"; else rm -f ".deps/gbx3-gb_error.Tpo"; exit 1; fi
gb_error.c:435: error: conflicting types for ‘ERROR_print_at’
gb_error.h:202: error: previous declaration of ‘ERROR_print_at’ was here
make[2]: *** [gbx3-gb_error.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Making install in libltdl
test -z "/usr/local/lib" || ./install-sh -c -d "/usr/local/lib"
test -z "/usr/local/include" || ./install-sh -c -d "/usr/local/include"
Making install in gbx
if gcc -DHAVE_CONFIG_H -I. -I.. -I../share   -D_REENTRANT -I../libltdl  -I/usr/include/ffi/   -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O3  -MT gbx3-gb_error.o -MD -MP -MF ".deps/gbx3-gb_error.Tpo" -c -o gbx3-gb_error.o `test -f 'gb_error.c' || echo './'`gb_error.c; then mv -f ".deps/gbx3-gb_error.Tpo" ".deps/gbx3-gb_error.Po"; else rm -f ".deps/gbx3-gb_error.Tpo"; exit 1; fi
gb_error.c:435: error: conflicting types for ‘ERROR_print_at’
gb_error.h:202: error: previous declaration of ‘ERROR_print_at’ was here
make[1]: *** [gbx3-gb_error.o] Error 1
make: *** [install-recursive] Error 1


> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user-fr mailing list
> Gambas-user-fr@...
> https://lists.sourceforge.net/lists/listinfo/gambas-user-fr


------------------------------------------------------------------------------

_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: GB3 sur Mac, Connaissance :-)

by Laurent Carlier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le dimanche 05 juillet 2009 15:33:30 François Gallo, vous avez écrit :

> Le 5 juil. 09 à 15:24, Laurent Carlier a écrit :
> > Le dimanche 05 juillet 2009 14:45:44 François Gallo, vous avez écrit :
> >> Voici les 2 fichiers contenants les infos de ./configure et make
> >> mais ça semble être tronqué :( .
> >>
> >> Commande que j'ai fait :
> >>
> >> ./configure > /Users/francois/gb_configure.txt
> >> make > /Users/francois/gb_make.txt
> >>
> >> Le make clean a bien était fait au préalable.
> >>
> >> Benoit tu ne veux pas un accés SSH pour essayer de régler ça en
> >> "temps
> >> réel" ??
> >> Tu es le mieux placé quand c'est question de code du core pour GB.
> >
> > http://64.128.110.55/help/readme
> >
> > "Si ça ne marche pas, j'ai besoin de savoir ce qui s'est passé
> > exactement.
> > Pour cela, tapez la commande suivante :
> > $ ( ./configure; make; make install ) > output.txt 2>&1
> >
> > Et envoyez-moi par email le fichier "output.txt", avec tous les
> > détails que
> > vous trouverez pertinents concernant votre ordinateur et votre
> > distribution."
> >
> > ;-p
>
> hép !!
> Merci lolo ;)
>
> Voilà le output.txt :)

Essaye toujours d'effacer les deux fichiers incriminés puis régénére les par un
svn up pour voir..... qui sait :-)

++


------------------------------------------------------------------------------
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
< Prev | 1 - 2 | Next >