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

PKG_CHECK_MODULES error #41

Open
HeroKern opened this issue Nov 23, 2023 · 6 comments
Open

PKG_CHECK_MODULES error #41

HeroKern opened this issue Nov 23, 2023 · 6 comments

Comments

@HeroKern
Copy link

I exec ./configure cmd using ubuntu22.04 and got the following error:
./configure: line 4525: syntax error near unexpected token TIRPC,' ./configure: line 4525: PKG_CHECK_MODULES(TIRPC, libtirpc)'

@HeroKern
Copy link
Author

I delete this PKG_CHECK_MODULES(TIRPC, libtirpc) line and it works

@CendioOssman
Copy link
Contributor

It sounds like the configure script was not generated correctly.

How was unfs3 downloaded and built? Please try to include the exact steps so I see if I can get the same error here.

@eliphatfs
Copy link

I have met the same problem. In a clean ubuntu docker, I apt-installed bison, flex and autoconf, then git-cloned this repository, then run ./bootstrap and ./configure, and it goes like that.

@eliphatfs
Copy link

After I removed the line I still cannot get it compiled.

daemon.c:143:45: error: 'struct sockaddr_in' has no member named 'sin6_port'; did you mean 'sin_port'?

@eliphatfs
Copy link

I can compile 0.9.23 version, and can configure (but not compile) 0.10.0 version, and cannot configure the master version.

@CendioOssman
Copy link
Contributor

I would guess that pkg-config is not installed. Could you install that package on your docker instance and repeat the whole procedure?

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

No branches or pull requests

3 participants