Skip to content

Automated install script does not set GNUSTEP_MAKEFILES #51

@Pinjontall94

Description

@Pinjontall94

Error output

 Linking tool make_services ...
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_play'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_free_options'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_append_option'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_default_driver_id'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_shutdown'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_initialize'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_open_live'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_close'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_play'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_free_options'
gmake[4]: *** [/usr/GNUstep/System/Library/Makefiles/Instance/tool.make:89: obj/gcloseall] Error 1
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_append_option'
gmake[3]: *** [/usr/GNUstep/System/Library/Makefiles/Instance/tool.make:74: internal-tool-all_] Error 2
gmake[2]: *** [/usr/GNUstep/System/Library/Makefiles/Master/rules.make:297: gcloseall.all.tool.variables] Error 2
gmake[2]: *** Waiting for unfinished jobs....
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_default_driver_id'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_shutdown'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_initialize'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_open_live'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_close'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [/usr/GNUstep/System/Library/Makefiles/Instance/tool.make:89: obj/gopen] Error 1
gmake[3]: *** [/usr/GNUstep/System/Library/Makefiles/Instance/tool.make:74: internal-tool-all_] Error 2
gmake[2]: *** [/usr/GNUstep/System/Library/Makefiles/Master/rules.make:297: gopen.all.tool.variables] Error 2
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_play'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_free_options'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_append_option'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_default_driver_id'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_shutdown'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_initialize'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_open_live'
/usr/bin/ld: ../Source/./obj/libgnustep-gui.so: undefined reference to `ao_close'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [/usr/GNUstep/System/Library/Makefiles/Instance/tool.make:89: obj/set_show_service] Error 1
gmake[3]: *** [/usr/GNUstep/System/Library/Makefiles/Instance/tool.make:74: internal-tool-all_] Error 2
gmake[2]: *** [/usr/GNUstep/System/Library/Makefiles/Master/rules.make:297: set_show_service.all.tool.variables] Error 2
gmake[1]: *** [/usr/GNUstep/System/Library/Makefiles/Master/tool.make:71: internal-all] Error 2
gmake: *** [/usr/GNUstep/System/Library/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2

later...(similar errors are found for cairo in gnustep-back)

Making all in subprojects of bundle libgnustep-back-032...
Making all for subproject cairo...
 Creating obj/cairo.obj/../fontconfig/...
 Compiling file CairoSurface.m ...
 Compiling file CairoFontInfo.m ...
 Compiling file CairoGState.m ...
 Compiling file CairoContext.m ...
 Compiling file CairoFontEnumerator.m ...
 Compiling file CairoFontAssetInstaller.m ...
 Compiling file CairoFaceInfo.m ...
 Compiling file CairoPSSurface.m ...
In file included from CairoFontEnumerator.m:31:
In file included from ../../Headers/cairo/CairoFontEnumerator.h:31:
../../Headers/fontconfig/FCFontEnumerator.h:31:10: fatal error: 'GNUstepGUI/GSFontInfo.h' file not found
   31 | #include <GNUstepGUI/GSFontInfo.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
CairoContext.m:28:10: fatal error: CairoGState.m:31:10: 'AppKit/NSBitmapImageRep.h' file not foundfatal error: 
   28 | #include <AppKit/NSBitmapImageRep.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
'AppKit/NSAffineTransform.h' file not found
   31 | #include <AppKit/NSAffineTransform.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
CairoFontInfo.m:30:10: fatal error: 'AppKit/NSAffineTransform.h' file not found
   30 | #include <AppKit/NSAffineTransform.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from CairoFontAssetInstaller.m:26:
In file included from ../../Headers/cairo/CairoFontAssetInstaller.h:31:
../../Headers/fontconfig/FCFontAssetInstaller.h:29:9: fatal error: 'GNUstepGUI/GSFontAssetInstaller.h' file not found
   29 | #import <GNUstepGUI/GSFontAssetInstaller.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

and lastly

================ Post Installation ================
/root/gnustep
GNUmakefile:30: 
GNUmakefile:31: Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!
GNUmakefile:32: Perhaps gnustep-make is not properly installed,
GNUmakefile:33: so gnustep-config is not in your PATH.
GNUmakefile:34: 
GNUmakefile:35: Your PATH is currently /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
GNUmakefile:36: 
GNUmakefile:41: *** You need to set GNUSTEP_MAKEFILES before compiling!.  Stop.
GNUmakefile:30: 
GNUmakefile:31: Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!
GNUmakefile:32: Perhaps gnustep-make is not properly installed,
GNUmakefile:33: so gnustep-config is not in your PATH.
GNUmakefile:34: 
GNUmakefile:35: Your PATH is currently /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
GNUmakefile:36: 
GNUmakefile:41: *** You need to set GNUSTEP_MAKEFILES before compiling!.  Stop.
Done...

Steps to reproduce

See #48

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions