Check the documentation for your version of sudo. It may be that -E is not the correct flag to pass the environment through unmodified. Alternatively, you can do su, then source the GNUstep.sh file, then do make install.
David On 21 May 2011, at 11:15, Gianluca Audone wrote: > Yep! > > That was the issue. Ehm how do i fix it? > > Thank you very much David > > Gianluca > > On May 21, 2011, at 11:30 AM, David Chisnall wrote: > >> It looks like some parts in your environment are not being passed through >> sudo. You can try 'sudo -E env' to see what's changed. >> >> David >> >> On 21 May 2011, at 09:07, Gianluca Audone wrote: >> >>> Hi all! >>> >>> It has been quite a long time since I tried to compile Étoilé. So this is >>> the state of the art: >>> >>> I successfully built llvm and Clang. >>> I built GNUstep-make with Clang >>> >>> I'm trying to compile libobjc2 but i got this: >>> >>> make debug=no && sudo -E make strip=yes install >>> This is gnustep-make 2.6.0. Type 'make print-gnustep-make-help' for help. >>> Making all for library libobjc... >>> make[3]: Nothing to be done for `internal-library-compile'. >>> Making all for library libobjcxx... >>> make[3]: Nothing to be done for `internal-library-compile'. >>> [sudo] password for andrew: >>> This is gnustep-make 2.6.0. Type 'make print-gnustep-make-help' for help. >>> /usr/GNUstep/System/Library/Makefiles/common.make:857: WARNING: Your PATH >>> may not be set up correctly ! >>> /usr/GNUstep/System/Library/Makefiles/common.make:858: Please try again >>> after adding "/usr/GNUstep/System/Tools" to your path >>> Making all for library libobjc... >>> make[3]: Nothing to be done for `internal-library-compile'. >>> Making all for library libobjcxx... >>> make[3]: Nothing to be done for `internal-library-compile'. >>> Making install for library libobjc... >>> Installing library libobjc... >>> Installing headers... >>> Making install for library libobjcxx... >>> Installing library libobjcxx... >>> >>> Any ideas of what has possibly happened? >>> >>> My bashrc: >>> >>> # .bashrc >>> >>> # Source global definitions >>> if [ -f /etc/bashrc ]; then >>> . /etc/bashrc >>> fi >>> >>> # User specific aliases and functions >>> >>> export PATH=$PATH:~/Documents/Etoileos/build/Release+Asserts/bin/: # >>> llvm/Debug/bin contains the clang binary >>> export CC=clang # Make Clang the C/ObjC compiler rather than GCC >>> >>> . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh >>> >>> last my env: >>> >>> XDG_SESSION_ID=6 >>> HOSTNAME=wiles >>> SELINUX_ROLE_REQUESTED= >>> GNUSTEP_IS_FLATTENED=yes >>> TERM=xterm-color >>> SHELL=/bin/bash >>> HISTSIZE=1000 >>> SSH_CLIENT=192.168.10.183 50492 22 >>> GNUSTEP_LOCAL_ROOT=/usr/GNUstep/Local >>> SELINUX_USE_CURRENT_RANGE= >>> OLDPWD=/home/andrew/Documents >>> SSH_TTY=/dev/pts/2 >>> GNUSTEP_HOST=i686-pc-linux-gnu >>> USER=andrew >>> LD_LIBRARY_PATH=/home/andrew/GNUstep/Library/Libraries:/usr/GNUstep/Local/Library/Libraries:/usr/GNUstep/System/Library/Libraries >>> LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36: >>> GUILE_LOAD_PATH=/home/andrew/GNUstep/Library/Libraries/Guile:/usr/GNUstep/Local/Library/Libraries/Guile:/usr/GNUstep/System/Library/Libraries/Guile >>> GNUSTEP_MAKEFILES=/usr/GNUstep/System/Library/Makefiles >>> GNUSTEP_NETWORK_ROOT=/usr/GNUstep/Network >>> GNUSTEP_FLATTENED=yes >>> GNUSTEP_HOST_OS=linux-gnu >>> GNUSTEP_HOST_VENDOR=pc >>> MAIL=/var/spool/mail/andrew >>> PATH=/home/andrew/GNUstep/Tools:/usr/GNUstep/Local/Tools:/usr/GNUstep/System/Tools:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/andrew/Documents/Etoileos/build/Release+Asserts/bin/::/home/andrew/bin >>> PWD=/home/andrew >>> LANG=en_US.UTF-8 >>> KDE_IS_PRELINKED=1 >>> KDEDIRS=/usr >>> GNUSTEP_HOST_CPU=ix86 >>> SELINUX_LEVEL_REQUESTED= >>> HISTCONTROL=ignoredups >>> SHLVL=1 >>> HOME=/home/andrew >>> GNUSTEP_USER_ROOT=/home/andrew/GNUstep >>> GNUSTEP_SYSTEM_ROOT=/usr/GNUstep/System >>> LOGNAME=andrew >>> GNUSTEP_PATHLIST=/usr/GNUstep/System:/usr/GNUstep/Network:/usr/GNUstep/Local:/home/andrew/GNUstep >>> CLASSPATH=/home/andrew/GNUstep/Library/Libraries/Java:/usr/GNUstep/Local/Library/Libraries/Java:/usr/GNUstep/System/Library/Libraries/Java >>> SSH_CONNECTION=192.168.10.183 50492 192.168.10.144 22 >>> LIBRARY_COMBO=gnu-gnu-gnu >>> LESSOPEN=||/usr/bin/lesspipe.sh %s >>> INFOPATH=/usr/GNUstep/System/Library/Documentation/info::/usr/GNUstep/Local/Library/Documentation/info::/home/andrew/GNUstep/Library/Documentation/info: >>> CC=clang >>> XDG_RUNTIME_DIR=/run/user/andrew >>> G_BROKEN_FILENAMES=1 >>> _=/bin/env >>> >>> Thanks for now :) >>> >>> Gianluca >>> >>> >>> >>> _______________________________________________ >>> Etoile-discuss mailing list >>> [email protected] >>> https://mail.gna.org/listinfo/etoile-discuss >> >> >> -- Sent from my brain >> >> >> _______________________________________________ >> Etoile-discuss mailing list >> [email protected] >> https://mail.gna.org/listinfo/etoile-discuss >> > > > _______________________________________________ > Etoile-discuss mailing list > [email protected] > https://mail.gna.org/listinfo/etoile-discuss -- Sent from my brain _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
