[opensuse-buildservice] Help with rectifying build errors
Hi All, I've hit a stumbling block with building packages, some distros build fine and others just don't want to play ball. Some of the distros are complaining about libcurl not in the pkg-config, and others are complaining about ****. If possible could someone advise me on how to rectify these problems, please? The details of the errors are as follows, broken by distro: SLES9: + ./configure --prefix=/opt/bongo --localstatedir=/var/opt/bongo configure: error: cannot find install-sh or install.sh in . ./.. ./../.. openSUSE Factory: + ./configure --prefix=/opt/bongo --localstatedir=/var/opt/bongo configure: error: cannot find install-sh or install.sh in . ./.. ./../.. SUSE 10.0: checking for libcurl... Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc' to the PKG_CONFIG_PATH environment variable No package 'libcurl' found configure: error: Library requirements (libcurl) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. SUSE 9.3: checking for libcurl... Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc' to the PKG_CONFIG_PATH environment variable No package 'libcurl' found configure: error: Library requirements (libcurl) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. FC4: checking for libcurl... Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc' to the PKG_CONFIG_PATH environment variable No package 'libcurl' found configure: error: Library requirements (libcurl) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. Mandriva 2006: checking for libcurl... Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc' to the PKG_CONFIG_PATH environment variable No package 'libcurl' found configure: error: Library requirements (libcurl) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. Many thanks for your help, and also for the OBS which is great. Andy -- Andrew Wafaa Business Tel: +44 (0)7919 522451 Personal Tel: +44 (0)7974 074546 e-Mail: andrew@forcev.net --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Jan 30, 2007 at 10:39:38AM +0000, Andrew Wafaa wrote:
Hi All,
I've hit a stumbling block with building packages, some distros build fine and others just don't want to play ball. Some of the distros are complaining about libcurl not in the pkg-config, and others are complaining about ****. If possible could someone advise me on how to rectify these problems, please? The details of the errors are as follows, broken by distro:
SLES9: + ./configure --prefix=/opt/bongo --localstatedir=/var/opt/bongo configure: error: cannot find install-sh or install.sh in . ./.. ./../..
openSUSE Factory: + ./configure --prefix=/opt/bongo --localstatedir=/var/opt/bongo configure: error: cannot find install-sh or install.sh in . ./.. ./../..
I would suggest a "autoreconf -i -f" for those, unclear if it works.
SUSE 10.0: checking for libcurl... Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc' to the PKG_CONFIG_PATH environment variable No package 'libcurl' found configure: error: Library requirements (libcurl) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
You will need curl-devel in the BuildRequires for those that miss libcurl.
SUSE 9.3: checking for libcurl... Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc' to the PKG_CONFIG_PATH environment variable No package 'libcurl' found
configure: error: Library requirements (libcurl) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
FC4: checking for libcurl... Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc' to the PKG_CONFIG_PATH environment variable No package 'libcurl' found
configure: error: Library requirements (libcurl) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
Mandriva 2006: checking for libcurl... Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc' to the PKG_CONFIG_PATH environment variable No package 'libcurl' found configure: error: Library requirements (libcurl) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
Many thanks for your help, and also for the OBS which is great.
Andy
-- Andrew Wafaa Business Tel: +44 (0)7919 522451 Personal Tel: +44 (0)7974 074546 e-Mail: andrew@forcev.net
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Marcus Meissner wrote:
On Tue, Jan 30, 2007 at 10:39:38AM +0000, Andrew Wafaa wrote:
Hi All,
I've hit a stumbling block with building packages, some distros build fine and others just don't want to play ball. Some of the distros are complaining about libcurl not in the pkg-config, and others are complaining about ****. If possible could someone advise me on how to rectify these problems, please? The details of the errors are as follows, broken by distro:
SLES9: + ./configure --prefix=/opt/bongo --localstatedir=/var/opt/bongo configure: error: cannot find install-sh or install.sh in . ./.. ./../..
openSUSE Factory: + ./configure --prefix=/opt/bongo --localstatedir=/var/opt/bongo configure: error: cannot find install-sh or install.sh in . ./.. ./../..
I would suggest a "autoreconf -i -f" for those, unclear if it works.
SUSE 10.0: checking for libcurl... Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc' to the PKG_CONFIG_PATH environment variable No package 'libcurl' found configure: error: Library requirements (libcurl) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
You will need curl-devel in the BuildRequires for those that miss libcurl.
Unfortunately, libcurl.pc was not packaged in SL 10.0 and older. So... one would probably need to patch configure.ac to fallback to AC_CHECK_LIB(curl, ...) if the pkg-foncig test fails. Good luck ;-) Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Marcus,
I would suggest a "autoreconf -i -f" for those, unclear if it works.
Thanks for the tip I'll try that.
You will need curl-devel in the BuildRequires for those that miss libcurl.
I double checked and curl-devel is in the Build Requires. Is it named something else? FC5 builds fine, and I've used the same name in FC4, I've used the same name for Mandriva2006 that I used in Mandriva 2007 (which builds fine), and I've used the same name in all SUSE based distros and only those mentioned fail. Many thanks, Andy -- Andrew Wafaa Business Tel: +44 (0)7919 522451 Personal Tel: +44 (0)7974 074546 e-Mail: andrew@forcev.net --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Andrew Wafaa
-
Marcus Meissner
-
Michal Marek