[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Warning on first NSLog call
From: |
Rasmus Barringer |
Subject: |
Re: Warning on first NSLog call |
Date: |
Thu, 5 Apr 2012 17:31:46 +0200 |
Thanks a lot for the suggestion. I did the following to get an
installation in ~/standalone/:
svn co http://svn.gna.org/svn/gnustep/modules/core
git clone https://github.com/gnustep/gnustep-libobjc2.git
cd core/make
./configure --with-layout=standalone
make install
. ~/standalone/Makefiles/GNUstep.sh
cd ../../
cd gnustep-libobjc2
PREFIX=~/standalone/ make install
cd ../
cd core/make
./configure --with-layout=standalone
make install
. ~/standalone/Makefiles/GNUstep.sh
cd ../../
cd core/base
./configure --with-config-file=./
--with-default-config=standalone.conf --disable-tls --disable-icu
make install
cd ../../
Everything does work if I set the include dir and LD_LIBRARY_PATH to
~/standalone/. However, if I move that folder to the application
directory and set the paths accordingly, it throws an exception
resulting in an infinite recursion:
...
#1759 0x00007ffff7805772 in -[NSAutoreleasePool init] (self=0x8730e8,
_cmd=<value optimized out>) at NSAutoreleasePool.m:384
#1760 0x00007ffff7874363 in _NSFoundationUncaughtExceptionHandler (
---Type <return> to continue, or q <return> to quit---
value=0x1edfe98) at NSException.m:762
#1761 callUncaughtHandler (value=0x1edfe98) at NSException.m:795
#1762 0x00007ffff70ba26c in objc_exception_throw (object=0x1edfe98)
at eh_personality.c:155
#1763 0x00007ffff787411e in -[NSException raise] (self=0x1edfe98,
_cmd=<value optimized out>) at NSException.m:967
#1764 0x00007ffff787459e in +[NSException raise:format:] (self=0x7ffff7d2ff20,
_cmd=<value optimized out>, name=0x7ffff7d305e0, format=0x7ffff7d0a4e0)
at NSException.m:835
#1765 0x00007ffff7805772 in -[NSAutoreleasePool init] (self=0x1eea6e8,
_cmd=<value optimized out>) at NSAutoreleasePool.m:384
#1766 0x00007ffff7874363 in _NSFoundationUncaughtExceptionHandler (
value=0x1ee72c8) at NSException.m:762
#1767 callUncaughtHandler (value=0x1ee72c8) at NSException.m:795
#1768 0x00007ffff70ba26c in objc_exception_throw (object=0x1ee72c8)
at eh_personality.c:155
#1769 0x00007ffff787411e in -[NSException raise] (self=0x1ee72c8,
_cmd=<value optimized out>) at NSException.m:967
#1770 0x00007ffff7951ff9 in +[NSUserDefaults standardUserDefaults] (
self=0x7ffff7d9f900, _cmd=<value optimized out>) at NSUserDefaults.m:1050
#1771 0x00007ffff795320a in GSPrivateDefaultsFlag (type=GSLogSyslog)
at NSUserDefaults.m:2106
#1772 0x00007ffff78b0a4d in NSLogv (format=0x602c80, args=0x7fffffffe0d0)
---Type <return> to continue, or q <return> to quit---
at NSLog.m:300
#1773 0x00007ffff78b0cb9 in NSLog (format=<value optimized out>) at NSLog.m:247
#1774 0x000000000040074a in main ()
There is most certainly an issue with the path but I am unsure how and where.
Any suggestions are very welcome.
Thanks,
Rasmus
Den 5 april 2012 14:12 skrev Niels Grewe <niels.grewe@halbordnung.de>:
> Am 05.04.2012 13:58, schrieb Rasmus Barringer:
>> I see. That sounds probable. But can gnustep not use the time zone
>> data of the OS?
>>
>> My "goal" is to create a minimal objective-c layer with the only
>> dependencies being libobjc.so.4 and libgnustep-base.so.1.24. These are
>> to be bundled with the application when released in binary form. For
>> this reason I don't install gnu step, I just link against the library
>> that I put beside my application. I would like it so that the user of
>> the application don't have to install gnustep.
>>
>> Perhaps this is not possible? It seems to work well apart from this small
>> issue.
>
> It is possible. You just need to use the standalone filesystem layout,
> which `installs' everything into one directory. This can be achieved by
> configuring gnustep-make with `./configure --with-layout=standalone'.
> You might also check the thread `building a self-contained deployable
> gnustep' that occurred on this very mailing list a while back.
>
> Cheers,
>
> Niels
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>