Skip to content

Looking for instructions how to properly install GNUstep and all components #33

@probonopd

Description

@probonopd

Hello, I am looking for instructions on how to properly install GNUstep and all components. I am roughly following https://raw.githubusercontent.com/gnustep/tools-scripts/master/gnustep-web-install-dev but I need to use https for git since I need to run this in a GitHub Actions pipeline that is unauthorized.

          pacman -Sy --noconfirm git curl bash sudo make clang cmake pkgconf which \
          libjpeg-turbo libtiff libpng libicns imagemagick \
          libxml2 libxslt gnutls libffi icu cairo libxft \
          avahi flite libxt portaudio \
          openssl freeglut wayland libxkbcommon wayland-protocols curl ffmpeg libao
          export KERNEL=linux
          export CC=clang
          export CXX=clang-cpp
          echo "======== Create gnustep build directories ========"
          mkdir -p gnustep
          cd gnustep
          git clone https://github.com/gnustep/tools-scripts
          ./tools-scripts/clone-all-repos-https
          echo "================ Install Dependencies ================"
          # Install dependencies
          ./tools-scripts/install-dependencies-${KERNEL}
          echo "================ Build ================"
          # Build it...
          WITH_ARC="${WITH_ARC}" ./tools-scripts/build-${KERNEL}
          . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh ### probonopd: Is this correct? Workaround for "Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!"
          # Post installation
          echo "================ Post Installation ================"
          ./tools-scripts/post-install-${KERNEL}
          echo "================ GWorkspace ================="
          cd apps-gworkspace
          export GNUSTEP_MAKEFILES=/usr/GNUstep/System/Library/Makefiles
          export PATH="/usr/GNUstep/System/Tools:$PATH"
          ./configure
          make
          sudo make install
          cd -

However, this results in

 Linking app GWorkspace ...
 Creating GWorkspace.app/Resources...
 Creating stamp file...
 Creating GWorkspace.app/Resources/Info-gnustep.plist...
 Creating GWorkspace.app/Resources/GWorkspace.desktop...
 Copying resources into the app wrapper...
GNUmakefile:4: 
GNUmakefile:5: Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!
GNUmakefile:6: Perhaps gnustep-make is not properly installed,
GNUmakefile:7: so gnustep-config is not in your PATH.
GNUmakefile:8: 
GNUmakefile:9: Your PATH is currently /usr/local/sbin:/usr/local/bin:/usr/bin
GNUmakefile:10: 
GNUmakefile:15: *** You need to set GNUSTEP_MAKEFILES before compiling!.  Stop.
Error: Process completed with exit code 2.

I would appreciate any hint as to what I am doing wrong, and ideally a concise full description on how to build and install GNUstep and all of its components/applications.

Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions