pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
trouble building packages on netbsd-current
Folks,
I am having problems building packages on a recent NetBSD-current machine. I
have done a cvs update on my pkgsrc tree but the build fails persist.
For example, attempting to build lang/g95 results in:
checking whether the C compiler (gcc -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib)
works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
*** Error code 1
Looking at the config.log I see:
configure:1954: gcc -o conftest -O2 -Wl,-zrelro -Wl,-R/usr/pkg/lib
conftest.c 1>&5
configure:1951:1: error: return type defaults to 'int' [-Wimplicit-int]
configure: failed program was:
#line 1949 "configure"
#include "confdefs.h"
main(){return(0);}
I hacked the configure script to add an "int" in front of the main() and
the configure worked.
I also have problems with irssi-icb with the compiler objecting to
g_strncasecmp().
All in all, it seems to me like this is the system compiler being a lot
stricter in what it will allow and breaking the package building.
Does anyone have any ideas?
--
Brett Lymn
--
Sent from my NetBSD device.
"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"
Home |
Main Index |
Thread Index |
Old Index