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

./configure #2

Open
brendanvg opened this issue Jul 23, 2015 · 5 comments
Open

./configure #2

brendanvg opened this issue Jul 23, 2015 · 5 comments

Comments

@brendanvg
Copy link

Hello!...Mike?
My name's Brendan, I'm a new programmer and I'm very very excited by your project!
Having some issues however....

When I try to run ./configure as specified in the wiki installation I get:

./configure: line 4032: syntax error near unexpected token libmicrohttpd,' ./configure: line 4032:PKG_CHECK_MODULES(libmicrohttpd, libmicrohttpd)'

I downloaded and installed libmicrohttpd and put it in the same directory as the rest of the files for webradio...but still...no luck... Help?

If you'd like to know more about why I'm interested in the project, or have any pointers....please email me: [email protected]

Thanks!
-Brendan

@mikestir
Copy link
Owner

Hi Brendan,

What Linux distribution are you building it on?

Mike

On 24/07/15 00:44, brendanvg wrote:

Hello!...Mike?
My name's Brendan, I'm a new programmer and I'm very very excited by
your project!
Having some issues however....

When I try to run ./configure as specified in the wiki installation I get:

./configure: line 4032: syntax error near unexpected token
|libmicrohttpd,'
./configure: line 4032:|PKG_CHECK_MODULES(libmicrohttpd, libmicrohttpd)'

I downloaded and installed libmicrohttpd and put it in the same
directory as the rest of the files for webradio...but still...no
luck... Help?

If you'd like to know more about why I'm interested in the project, or
have any pointers....please email me: [email protected]
mailto:[email protected]

Thanks!
-Brendan


Reply to this email directly or view it on GitHub
#2.

@lucvanbraekel
Copy link

I had the same problem as Brendan, in Ubuntu 14.04. To work around it, I manually installed all the necessary packages using apt-get, and commented the PKG_CHECK_MODULES lines out in configure.ac. But then I ran into the problem that ./configure, while running without errors, generated a Makefile that was almost empty, i.e. just a copy of the Makefile.ac.

This software is hard to install for someone who is not familiar with autotools. It took me a lot of time to simply make autoconf work.

@lucvanbraekel
Copy link

The INSTALL instructions simply mention "run the configure script", but it is not included in the repository, there is a configure.ac and a Makefile.am, and the learning curve to use autotools for generating the configure script is high, and all kinds of errors occur.

@galenzhao
Copy link

@lucvanbraekel

you can try this:

libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
./configure

@robputt
Copy link

robputt commented Mar 2, 2021

^ the above worked for me, many thanks @galenzhao

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

5 participants