Installation fails under netbsd

Eric Hopper hopper at omnifarious.org
Wed Sep 14 11:33:59 CDT 2005


On Wed, Sep 14, 2005 at 11:17:28AM +0100, Michael Smith wrote:
> $ 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.

The cc command line is set by Python's distutils package.  It uses the
compiler and flags that Python itself was compiled with.  That looks to
me like somehow there was some sort of error in installing Python in the
first place.

Have fun (if at all possible),
-- 
"It does me no injury for my neighbor to say there are twenty gods or no God.
It neither picks my pocket nor breaks my leg."  --- Thomas Jefferson
"Go to Heaven for the climate, Hell for the company."  -- Mark Twain
-- Eric Hopper (hopper at omnifarious.org  http://www.omnifarious.org/~hopper) --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.selenic.com/pipermail/mercurial/attachments/20050914/b2f1cb90/attachment.pgp


More information about the Mercurial mailing list