Menu

#149 Have a documented way to build fuse against a local libspectrum.

future
open
nobody
None
3
2023-05-03
2023-05-03
F.A.
No

See #496.

Users should have a well documented way to compile and install fuse locally, without requiring sudo, against a local libspectrum. This would help testers reproducing on latest release and QA in general.

Discussion

  • Arki55

    Arki55 - 2023-05-03

    Under Win32 this is not a problem.
    make install creates a subfolder with compiled stuff. It just needs few additional DLL files + libspectrum.dll and works. I have several parallel setups like that ( originally installed, devel build, testing build, etc..)

    Instructions how to build Fuse for win32 are documented here
    https://sourceforge.net/p/fuse-emulator/wiki/Home/

    Instructions for linux are in readme files
    https://sourceforge.net/p/fuse-emulator/libspectrum/ci/master/tree/README
    https://sourceforge.net/p/fuse-emulator/fuse/ci/master/tree/INSTALL

    But it's true that instructions how to use different path for Libspectrum are limited to "ask local guru".

    In theory, when compiling Libspectrum, it allows to specify a prefix dir where the lib will be eventually installed. Meaning it could be then installed within user folder, without sudo.
    Maybe:
    --with-local-prefix=PFX local libraries installed in PFX (optional)
    or just ..
    --prefix=<dir>

    Then when building fuse, ./configure --help mentions these env. variables:

    LIBSPECTRUM_CFLAGS
                  C compiler flags for LIBSPECTRUM, overriding pkg-config
    LIBSPECTRUM_LIBS
                  linker flags for LIBSPECTRUM, overriding pkg-config
    

    And where is it gonna be installed is I think
    --prefix=<dir>

    When compiling libspectrum and fuse, try specifying --prefix=<dir> pointing to your dedicated user folder (not system folder). Maybe it will work.

     

    Last edit: Arki55 2023-05-03
  • F.A.

    F.A. - 2023-05-03

    ./configure --prefix /home/f/media/vcs/fuse-1.6.0/usr/ does not work (still get Requested 'libspectrum >= 1.5.0' but version of libspectrum is 1.4.4). I would not know what to put in:

    LIBSPECTRUM_CFLAGS
                  C compiler flags for LIBSPECTRUM, overriding pkg-config
    LIBSPECTRUM_LIBS
                  linker flags for LIBSPECTRUM, overriding pkg-config
    
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.