Adam Tauno Williams | 3 Dec 22:54 2011

SOPE Packages On openSUSE 12.1

Building the src gnustep & SOPE packages from
<http://download.opensuse.org/repositories/home:/oeufdure:/SOGO/openSUSE_11.4/src/> fails on
openSUSE 12.1.  I've been using these GNUstep & SOPE packages to build OpenGroupware on openSUSE 11.x.  
I've not seen this error before -

rm -f dynamic-load.h
cp simple-load.h dynamic-load.h
/usr/share/GNUstep/Makefiles/mkinstalldirs .
mv ../Headers/Additions/GNUstepBase/config.h .
touch ./config.h
/usr/share/GNUstep/Makefiles/mkinstalldirs ./GNUstepBase
mv ../Headers/Additions/GNUstepBase/GSConfig.h ./GNUstepBase
touch ./GNUstepBase/GSConfig.h
Making all in Additions ...
Making all for subproject Additions...
 Compiling file GSObjCRuntime.m ...
In file included
from ../../Headers/Additions/GNUstepBase/GSObjCRuntime.h:43:0,
                 from ../../Headers/Foundation/NSObjCRuntime.h:81,
                 from ../../Headers/Foundation/NSZone.h:57,
                 from .././common.h:28,
                 from GSObjCRuntime.m:32:
/usr/lib64/gcc/x86_64-suse-linux/4.6/include/objc/runtime.h:45:3: error:
#error You can not include both objc/objc-api.h and objc/runtime.h.
Include objc/objc-api.h for the traditional GNU Objective-C Runtime API
and objc/runtime.h for the modern one.
In file included
from ../../Headers/Additions/GNUstepBase/GSObjCRuntime.h:43:0,
                 from ../../Headers/Foundation/NSObjCRuntime.h:81,
                 from ../../Headers/Foundation/NSZone.h:57,
(Continue reading)

Sebastian Reitenbach | 4 Dec 13:28 2011
Picon

Re: [OGo-Devel] SOPE Packages On openSUSE 12.1

 Hi,
On Saturday, December 3, 2011 22:54 CET, Adam  Tauno Williams
<awilliam@...> wrote: 

> Building the src gnustep & SOPE packages from
> <http://download.opensuse.org/repositories/home:/oeufdure:/SOGO/openSUSE_11.4/src/> fails
on openSUSE 12.1.  I've been using these GNUstep & SOPE packages to build OpenGroupware on openSUSE 11.x.  
I've not seen this error before -

do you can add messages=yes to the make flags, to see, how gcc is called?
Which gcc version is used there? 4.6?

the gnustep-base there in the src.rpm 1.20.x is old. On OpenBSD I use 1.22.1, there, in 
/Headers/GNUstepBase/GSObjCRuntime.h

I have:

#if     OBJC2RUNTIME
/* We have a real ObjC2 runtime.
 */
#include <objc/runtime.h>
#else
/* We emulate an ObjC2 runtime.
 */
#include <objc/objc-api.h>
#include <ObjectiveC2/runtime.h>
#endif

Is this a clean, fresh installed box? Maybe you have multiple versions of libobjc headers installed?
Then it could be that configure picks up one set, and then while building, it picks up 
(Continue reading)

Adam Tauno Williams | 6 Dec 00:08 2011

Re: [OGo-Devel] SOPE Packages On openSUSE 12.1 [messages=yes]

On Sun, 2011-12-04 at 13:28 +0100, Sebastian Reitenbach wrote:
> On Saturday, December 3, 2011 22:54 CET, Adam  Tauno Williams
> <awilliam@...> wrote:  
> >Building the src gnustep & SOPE packages from
> ><http://download.opensuse.org/repositories/home:/oeufdure:/SOGO/openSUSE_11.4/src/>
> >fails on openSUSE 12.1.  I've been using these GNUstep & SOPE
>>packages to build OpenGroupware on openSUSE 11.x.   I've not seen this
>>error before 
> do you can add messages=yes to the make flags, to see, how gcc is
> called?
> Which gcc version is used there? 4.6?

gcc-objc-4.6-15.1.3.x86_64

gnustep-make-2.4.0-47.1.x86_64 build and installed without issues.

Mimicing the gnustep-make build from the GNUstep package SPEC file:

. /usr/share/GNUstep/Makefiles/GNUstep.sh
export LIBPATHS="-L/usr/lib64"
./configure --libdir=/usr/lib64 --with-xml-prefix=/usr  --enable-ffi \
   --with-installation-domain=SYSTEM
make messages=yes

This is gnustep-make 2.4.0. Type 'make print-gnustep-make-help' for
help.
Making all in Source ...
make[1]: Entering directory
`/usr/src/packages/SOURCES/gnustep-base-1.20.1/Source'
rm -f dynamic-load.h
(Continue reading)

Adam Tauno Williams | 6 Dec 00:11 2011

Re: [OGo-Devel] SOPE Packages On openSUSE 12.1

On Sun, 2011-12-04 at 13:28 +0100, Sebastian Reitenbach wrote:
> Hi,
> On Saturday, December 3, 2011 22:54 CET, Adam  Tauno Williams
<awilliam@...> wrote: 
>  
> > Building the src gnustep & SOPE packages from
> > <http://download.opensuse.org/repositories/home:/oeufdure:/SOGO/openSUSE_11.4/src/> fails
on openSUSE 12.1.  I've been using these GNUstep & SOPE packages to build OpenGroupware on openSUSE 11.x.  
I've not seen this error before -
> I have:
> #if     OBJC2RUNTIME
> /* We have a real ObjC2 runtime.
>  */
> #include <objc/runtime.h>
> #else
> /* We emulate an ObjC2 runtime.
>  */
> #include <objc/objc-api.h>
> #include <ObjectiveC2/runtime.h>
> #endif
> Is this a clean, fresh installed box? 

Yep.  Just acquired and installed it [nice HP workstation with dual
quad-code Xeons, 3 nVidia GPUs, & 5-drive array - doubles as a space
heater!]

> Maybe you have multiple versions of libobjc headers installed?

Don't think so.  I also tried on my recently 12.1 laptop and got the
same error.
(Continue reading)

Adam Tauno Williams | 6 Dec 12:20 2011

Re: [OGo-Devel] SOPE Packages On openSUSE 12.1 [OBJC2RUNTIME]

On Sun, 2011-12-04 at 13:28 +0100, Sebastian Reitenbach wrote:
> Hi,
> On Saturday, December 3, 2011 22:54 CET, Adam  Tauno Williams
<awilliam@...> wrote:
> > Building the src gnustep & SOPE packages from
> > <http://download.opensuse.org/repositories/home:/oeufdure:/SOGO/openSUSE_11.4/src/> fails
on openSUSE 12.1.  I've been using these GNUstep & SOPE packages to build OpenGroupware on openSUSE 11.x.  
I've not seen this error before -
> do you can add messages=yes to the make flags, to see, how gcc is called?
> Which gcc version is used there? 4.6
> the gnustep-base there in the src.rpm 1.20.x is old. On OpenBSD I use 1.22.1, there, in 
> /Headers/GNUstepBase/GSObjCRuntime.
> I have:
> #if     OBJC2RUNTIME
> /* We have a real ObjC2 runtime.
>  */
> #include <objc/runtime.h>
> #else
> /* We emulate an ObjC2 runtime.
>  */
> #include <objc/objc-api.h>
> #include <ObjectiveC2/runtime.h>
> #endif

...
LTLIBOBJS=''
MAJOR_VERSION='1'
MINOR_VERSION='20'
NX_CONST_STRING_CLASS='NSConstantString'
NX_CONST_STRING_OBJCFLAGS='-fconstant-string-class=NSConstantString'
(Continue reading)


Gmane