Hi Fred,

Oh, if it looks so bad it must be something stupid (easy to fix)!? I did not 
have to work around anything for building GNUstep on this machine (Ubuntu 16.04 
plain installation). I just did

        apt-get install --yes --force-yes  build-essential
        apt-get install --yes --force-yes  libffi6 libffi-dev
        apt-get install --yes --force-yes libxml2 libxml2-dev
        apt-get install --yes --force-yes libxslt-dev
        apt-get install --yes --force-yes libgnutls-dev
        apt-get install --yes --force-yes libjpeg-dev
        apt-get install --yes --force-yes libpng-dev
        apt-get install --yes --force-yes libtiff-dev
        apt-get install --yes --force-yes libxt-dev
        apt-get install --yes --force-yes libxft-dev
        apt-get install --yes --force-yes libcairo2-dev
        apt-get install --yes --force-yes libfreetype6-dev

        apt-get update
        apt-get install sqlite3
        apt-get install libsqlite3-dev
        apt-get install libssl-dev
        apt-get install gdb
        apt-get install --yes --force-yes  gobjc

        apt-get install apt-utils
        apt-get install iputils-ping
        apt-get install ufw
        apt-get install dnsutils


        apt-get install --yes --force-yes  git-core
        git --version
        mkdir /usr/src/GNUstep
        cd /usr/src/GNUstep

        git clone https://github.com/gnustep/tools-make.git
        cd tools-make
        ./configure --enable-debug-by-default --with-layout=gnustep
        make
        make install
        cd ..

        . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh

        git clone https://github.com/gnustep/libs-base.git
        cd libs-base
        ./configure 
        make
        make install
        cd ..

        git clone https://github.com/gnustep/libs-gui.git
        cd libs-gui
        ./configure 
        make
        make install
        cd ..

        git clone https://github.com/gnustep/libs-back.git
        cd libs-back
        ./configure 
        make
        make install
        cd ..

        ln -s /usr/src/GNUstep/tools-make/openapp /usr/local/bin

and it worked out of the box. 

However, I needed to get FBCAccess

        ls -l /usr/local/FrontBase/lib/

total 3260
-rw-rw-r-- 1 root root 1175385 Feb 19  2014 FBCAccess.o
-rw-rw-r-- 1 root root 1377516 Feb 19  2014 libFBCAccess.a
-rwxrwxr-x 1 root root  778345 Feb 19  2014 libFBCAccess.so
lrwxrwxrwx 1 root root      15 Feb 19  2014 libFBCAccess.so.1 -> libFBCAccess.so


linked to one of my frameworks, had lots of trouble finding out how to get this 
accomplished and finally found 

        pico /etc/ld.so.conf.d/randomLibs.conf

/usr/GNUstep/Local/Library/Libraries
/usr/local/FrontBase/lib

        ldconfig

to do the trick. 

I just tried to rebuild GNUstep base and encountered the same load of problems 
now!? I tried

        rm /etc/ld.so.conf.d/randomLibs.conf
        ldconfig

but the problem persists.

root@saturn:/usr/src/GNUstep/libs-base# make
This is gnustep-make 2.7.0. Type 'make print-gnustep-make-help' for help.
Running in gnustep-make version 2 strict mode.
Making all in Source ...
Making all in Additions ...
Making all for subproject Additions...
 Compiling file GSTypeEncoding.c ...
In file included from .././GNUstepBase/GSConfig.h:185:0,
                 from ../../Headers/GNUstepBase/GSVersionMacros.h:224,
                 from ../../Headers/GNUstepBase/GSTypeEncoding.h:30,
                 from GSTypeEncoding.c:27:
/usr/include/inttypes.h:280:1: error: ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘typedef’
 typedef struct
 ^

I have


#if __WORDSIZE == 64

/* We have to define the `uintmax_t' type using `ldiv_t'.  */
typedef struct   // <— line 280
  {
    long int quot;              /* Quotient.  */
    long int rem;               /* Remainder.  */
  } imaxdiv_t;

#else

/* We have to define the `uintmax_t' type using `lldiv_t'.  */
typedef struct
  {
    __extension__ long long int quot;   /* Quotient.  */
    __extension__ long long int rem;    /* Remainder.  */
  } imaxdiv_t;

#endif


in this file. This makes no sense at all to me!? Something is completely 
broken. I guess I will try to install GNUstep from scratch …

Thanks,

 Andreas




> normally I would first ask which compiler you are using and what version of 
> all components. But in this case the problem seems to be totally outside of 
> GNUstep. The file /usr/include/inttypes.h is a system header and  your 
> compiler isn’t able to parse it. The question is rather how did you get this 
> far :-) Similar problems should have happened when your compiled other bits 
> of GNUstep. How could you work around these?
> 
>> Am 17.06.2019 um 19:50 schrieb Andreas Höschler <[email protected]>:
>> 
>> Hi all,
>> 
>> I am using the current GNUstep tree on Ubuntu 16.04. When I try to build 
>> Pantomime 1.3 downloaded from here
>> 
>>      http://wiki.gnustep.org/index.php/Pantomime
>> 
>> I get tons of errors:
>> 
>> root@saturn:/usr/src/FileHub/Pantomime-1.3.0# make
>> This is gnustep-make 2.7.0. Type 'make print-gnustep-make-help' for help.
>> Running in gnustep-make version 2 strict mode.
>> Making all in Framework/Pantomime ...
>> Making build-headers for framework Pantomime...
>> Creating Pantomime.framework/Versions/1.3/Headers...
>> Creating Pantomime.framework/Versions/1.3/Headers/io.h...
>> Creating Pantomime.framework/Versions/1.3/Headers/CWCacheManager.h...
>> Creating Pantomime.framework/Versions/1.3/Headers/CWCharset.h...
>> …
>> Creating 
>> Pantomime.framework/Versions/1.3/Headers/NSFileManager+Extensions.h...
>> Creating Pantomime.framework/Versions/1.3/Headers/NSScanner+Extensions.h...
>> Creating Pantomime.framework/Versions/1.3/Headers/NSString+Extensions.h...
>> Creating Pantomime.framework/Versions/1.3/Headers/Pantomime.h...
>> Creating derived_src/.stamp...
>> Creating Pantomime.framework/Versions/1.3/Resources...
>> Updating Version/Current symlink...
>> Making all for framework Pantomime...
>> Compiling file CWCacheManager.m ...
>> In file included from 
>> /usr/GNUstep/Local/Library/Headers/GNUstepBase/GSConfig.h:185:0,
>>                 from 
>> /usr/GNUstep/Local/Library/Headers/GNUstepBase/GSVersionMacros.h:224,
>>                 from 
>> /usr/GNUstep/Local/Library/Headers/Foundation/NSArray.h:27,
>>                 from ../Pantomime/CWCacheManager.h:27,
>>                 from CWCacheManager.m:24:
>> /usr/include/inttypes.h:280:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
>> ‘__attribute__’ before ‘typedef’
>> typedef struct
>> ^
>> /usr/include/inttypes.h: In function ‘imaxabs’:
>> /usr/include/inttypes.h:290:40: error: expected declaration specifiers 
>> before ‘__THROW’
>> extern intmax_t imaxabs (intmax_t __n) __THROW __attribute__ ((__const__));
>>                                        ^
>> /usr/include/inttypes.h:294:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
>> ‘__attribute__’ before ‘__THROW’
>>       __THROW __attribute__ ((__const__));
>>       ^
>> /usr/include/inttypes.h:298:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
>> ‘__attribute__’ before ‘__THROW’
>>       char **__restrict __endptr, int __base) __THROW;
>>                                               ^
>> /usr/include/inttypes.h:302:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
>> ‘__attribute__’ before ‘__THROW’
>>        char ** __restrict __endptr, int __base) __THROW;
>>                                                 ^
>> /usr/include/inttypes.h:307:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
>> ‘__attribute__’ before ‘__THROW’
>> …
>> 
>> Any ideas? Has anybody got Pantomime installed on Ubuntu?
>> 
>> Thanks a lot,
>> 
>> Andreas
>> 
>> 
>> _______________________________________________
>> Discuss-gnustep mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
> 


_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to