Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building without Guile/Scheme #68

Open
oskooi opened this issue Mar 19, 2024 · 2 comments
Open

Error when building without Guile/Scheme #68

oskooi opened this issue Mar 19, 2024 · 2 comments
Labels

Comments

@oskooi
Copy link
Collaborator

oskooi commented Mar 19, 2024

When trying to compile libctl from source (069e736) with the flag --without-guile, I run into this error:

$ ./configure --without-guile
$ make

Making all in utils
make[2]: Entering directory '/home/oskooi/install/libctl/utils'
make[2]: *** No rule to make target 'geom-ctl-io.c', needed by 'all'.  Stop.

Inspecting config.log, I find these lines which seems should not be there:

config.status:1169: creating utils/gen-ctl-io

GEN_CTL_IO='/home/oskooi/install/libctl/utils/gen-ctl-io'
@oskooi oskooi added the bug label Mar 19, 2024
@oskooi
Copy link
Collaborator Author

oskooi commented Mar 20, 2024

Some additional information.

Building from source with Guile 3.0 using the tarball of the latest release (4.5) works fine.

wget https://github.com/NanoComp/libctl/releases/download/v4.5.1/libctl-4.5.1.tar.gz
tar xvzf libctl-4.5.1.tar.gz
cd libctl-4.5.1/
./configure --enable-shared LDFLAGS="-L/usr/local/lib -Wl,-rpath,/usr/local/lib"
make && sudo make install

However, adding the --without-guile option to ./configure produces the same error as above.

@stevengj
Copy link
Collaborator

stevengj commented Mar 20, 2024

./configure --without-guile && make worked fine for me on the release tarball.

You will need guile to build from the github source (which also requires --enable-maintainer-mode), because it is needed to generate the utils/geom-ctl-io.c file (which is included in the release tarball).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants