List Info

Thread: Bugs found in BasicAuthSession example




Bugs found in BasicAuthSession example
user name
2006-04-02 18:32:17
For the samples, this time, the make propcess works fine.
This will help me verify the samples build with and without XCode.

Philippe


Le 2 avr. 06 à 20:24, Philippe Laval a écrit :

I have done what you have described and I got my folder GNUstep full of librairies and tools . Cool.
 
So I have remember that I could not build mod_ngobjweb without modifiing the make file.
I tried the make command again and got the same result. Some hints ?

Thanks
Philippe



G5:~/SOPE-4.5/sope-appserver/mod_ngobjweb philippe$ make
make: no: Command not found
gcc -Wall -I. -fPIC -DSHARED_MODULE -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -I/usr/include/httpd -I   -c -o globals.o globals.c
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
make: *** [globals.o] Error 1

G5:~/SOPE-4.5/sope-appserver/mod_ngobjweb philippe$ env
MANPATH=:/usr/local/man
TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/bash
GNUSTEP_LOCAL_ROOT=/Users/philippe/GNUstep
TERM_PROGRAM_VERSION=133
OLDPWD=/Users/philippe/SOPE-4.5/sope-appserver
GNUSTEP_HOST=powerpc-apple-darwin8.5.0
USER=philippe
GUILE_LOAD_PATH=/Users/philippe/GNUstep/Library/Libraries/Guile
GNUSTEP_NETWORK_ROOT=/Users/philippe/GNUstep
GNUSTEP_MAKEFILES=/Users/philippe/GNUstep/Library/Makefiles
GNUSTEP_ROOT=/Users/philippe/GNUstep
GNUSTEP_FLATTENED=yes
__CF_USER_TEXT_ENCODING=0x1F5:0:91
GNUSTEP_HOST_OS=darwin8.5.0
GNUSTEP_HOST_VENDOR=apple
PATH=/Users/philippe/GNUstep/Tools:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/teTeX/bin/powerpc-apple-darwin-current:/usr/local/pgsql/bin:/usr/local/teTeX/bin/powerpc-apple-darwin-current
PWD=/Users/philippe/SOPE-4.5/sope-appserver/mod_ngobjweb
GNUSTEP_HOST_CPU=powerpc
DYLD_FRAMEWORK_PATH=/Users/philippe/GNUstep/Library/Frameworks
SHLVL=1
HOME=/Users/philippe
GNUSTEP_USER_ROOT=/Users/philippe/GNUstep
DYLD_LIBRARY_PATH=/Users/philippe/GNUstep/Library/Libraries
GNUSTEP_SYSTEM_ROOT=/Users/philippe/GNUstep
LOGNAME=philippe
GNUSTEP_PATHLIST=/Users/philippe/GNUstep
CLASSPATH=/Users/philippe/GNUstep/Library/Libraries/Java
LIBRARY_COMBO=apple-apple-appl
SECURITYSESSIONID=a064f0
_=/usr/bin/env



Le 2 avr. 06 à 17:51, Helge Hess a écrit :

On 2. Apr 2006, at 17:40 Uhr, Philippe Laval wrote:
How shoud I configure my computer to use gstep-make correctly ?

There are multiple modes to use gnustep-make with SOPE, the easiest (on OSX) is to use a GNUstep deployment root.

Take a clean checkout of SOPE 4.5. First build gnustep-make, its contained inside SOPE-4.5, like:
---
cd gnustep-make
./configure --prefix=$HOME/GNUstep            \
            --without-system-root             \
            --with-network-root=$HOME/GNUstep \
            --with-local-root=$HOME/GNUstep   \
            --with-user-root=$HOME/GNUstep    \
            --with-library-combo=apple-apple-appl \
    --disable-pch
make -s install
source $HOME/GNUstep/Library/Makefiles/GNUstep.sh
---snap---

Then go to the SOPE-4.5 source dir and call configure like
---snip---
./configure --enable-debug --disable-strip \
  --with-gnustep --gsmake=$GNUSTEP_SYSTEM_ROOT
---snap---

Should I source someting ?

There are ways to remove the need for sourcing GNUstep.sh, either compiling as frameworks or installing to FHS locations. The former could be incomplete and not well tested and the latter is not very Mac like (but the default way to use SOPE on Linux)

So: in the setup explained above, yes, you need to source GNUstep.sh prior running a SOPE application. You do NOT need to source GNUstep.sh for compilation (the required variables are hardwired in the config.make created by configure).

What are your environment variables ?

---snip---
helgegroove$ env|grep GNU
GNUSTEP_LOCAL_ROOT=/Users/helge/GNUstep
GNUSTEP_HOST=powerpc-apple-darwin8.2.0
GUILE_LOAD_PATH=/Users/helge/GNUstep/Library/Libraries/Guile
GNUSTEP_NETWORK_ROOT=/Users/helge/GNUstep
GNUSTEP_MAKEFILES=/Users/helge/GNUstep/Library/Makefiles
GNUSTEP_ROOT=/Users/helge/GNUstep
GNUSTEP_FLATTENED=yes
GNUSTEP_HOST_OS=darwin8.2.0
GNUSTEP_HOST_VENDOR=apple
PATH=/Users/helge/GNUstep/Tools:~/bin:/usr/local/bin:/usr/X11R6/bin:/Volumes/Store/fink-tiger/bin:/Volumes/Store/fink-tiger/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
GNUSTEP_HOST_CPU=powerpc
DYLD_FRAMEWORK_PATH=/Users/helge/GNUstep/Library/Frameworks
GNUSTEP_USER_ROOT=/Users/helge/GNUstep
DYLD_LIBRARY_PATH=/Users/helge/GNUstep/Library/Libraries
GNUSTEP_SYSTEM_ROOT=/Users/helge/GNUstep
GNUSTEP_PATHLIST=/Users/helge/GNUstep
CLASSPATH=/Users/helge/GNUstep/Library/Libraries/Java
---snap---

Greets,
  Helge
-- 
OpenGroupware.org

-- 
OpenGroupware.org MacOS X



[1]

about | contact  Other archives ( Real Estate discussion Medical topics )