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

Autoconf tool: #79

Closed
PieterDeGaaij opened this issue Feb 2, 2016 · 3 comments
Closed

Autoconf tool: #79

PieterDeGaaij opened this issue Feb 2, 2016 · 3 comments

Comments

@PieterDeGaaij
Copy link

Hi,

I am trying to configure and compile the source code on a Solaris 10 server.
But when I run autogen.sh, I got this error:
./autogen.sh
configure.ac:52: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.

Do you know what's wrong and how to solve this problem ?

Thanks in advance,
with regards,
Pieter de Gaaij

@fukuchi
Copy link
Owner

fukuchi commented Feb 2, 2016

Did you install pkg-config? Some articles associate this error with pkg-config.

https://bugzilla.redhat.com/show_bug.cgi?id=921817
https://blogs.oracle.com/mandy/entry/autoconf_weirdness

@PieterDeGaaij
Copy link
Author

Thanks for your comment, I have appreciated very much, because the problem has been solved.
I have added the package pkg-config on my Solaris Server and I created the libpng.pc.
Then the configure script completed successfully.
With regards,
Pieter de Gaaij

@fukuchi
Copy link
Owner

fukuchi commented Feb 4, 2016

Good to hear.

@fukuchi fukuchi closed this as completed Feb 4, 2016
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