Installation fails under netbsd

Michael Smith smithm at netapps.com.au
Wed Sep 14 05:17:28 CDT 2005


$ python2.4 setup.py install --home=~    
hg: not found
running install
running build
running build_py
running build_ext
building 'mercurial.bdiff' extension
cc -pthread -shared ${LDFLAGS} -L/usr/lib -Wl,-R/usr/lib
-Wl,-R/usr/pkg/lib build/temp.netbsd-2.0.2-i386-2.4/mercurial/bdiff.o -o
build/lib.netbsd-2.0.2-i386-2.4/mercurial/bdiff.so
cc: ${LDFLAGS}: No such file or directory error: command 'cc' failed
with exit status 1

I have tried to find out where ${LDFLAGS} is set for other platforms,
but I have not had any success. I don't understand enough about how the
install script works to fix it easily. For example I can't find LDFLAGS
anywhere in the distribution.

Any suggestions would be welcome.
-- 
Michael Smith
Network Applications
www.netapps.com.au   | +61 (0) 416 062 898
Web Hosting          | Internet Services


More information about the Mercurial mailing list