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 chokes in bitbake #15

Closed
Dan-Azure opened this issue Mar 30, 2016 · 1 comment
Closed

PKG_CHECK chokes in bitbake #15

Dan-Azure opened this issue Mar 30, 2016 · 1 comment

Comments

@Dan-Azure
Copy link

Hey, there.

There's a line in configure.ac called

PKG_CHECK_MODULES(SSHFS, [fuse >= 2.3 glib-2.0 gthread-2.0])

My bitbake chokes on it and gives a syntax error. I don't know if it's a version compatibility issue or wot, but I find that all my problems vanish if I change the line to

PKG_CHECK_MODULES([SSHFS], [fuse >= 2.3 glib-2.0 gthread-2.0])

Just wanted to mention it.

@VespertilioAmentis
Copy link

VespertilioAmentis commented Dec 14, 2016

Hello.

I've pulled latest version (via git clone) and this problem occurs again: no extra quoting, syntax error.

Here is an output:

 ./configure 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for library containing dlsym... -ldl
checking OpenSSH version... 5.3 >= 4.4, disabling NODELAY workaround
./configure: line 3796: syntax error near unexpected token `SSHFS,'
./configure: line 3796: `PKG_CHECK_MODULES(SSHFS, fuse >= 2.3 glib-2.0 gthread-2.0)`

Quoting this line with square braces (like in example provided by Dan-Azure) doesn't solve an issue.
Getting tag sshfs_2.8 as ZIP archive doesn't solve an issue as well. Did I miss something?
System is RHEL6, compiler is gcc-4.4.7, fuse version is 2.9.4.
If more information is needed I'm glad to share it. Thanks in advance.

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

2 participants