On 3 March 2017 at 00:27, Nawal Husnoo <na...@husnoo.com> wrote: > Hi, > > I'm trying to build simulavr, using the script below. However, it's not > finding *binutils-2.27/lib/libbfd.so > > > bfd search- > /nix/store/43cpb15i8jjing1gwn8rmbg80lhl8kqv-binutils-2.27/lib/libbfd.la in > "include" and ""... no > configure: error: > Could not locate libbfd.so/libbfd.a and/or bfd.h. > > > But it's possible to have it installed: > > $ ls /nix/store/*binutils*/lib/libbfd* > /nix/store/2mvblw8kq86ncaidjrp3x4rssy1lhlhi-binutils-2.27/lib/libbfd-2.27.so > /nix/store/2mvblw8kq86ncaidjrp3x4rssy1lhlhi-binutils-2.27/lib/libbfd.la > /nix/store/2mvblw8kq86ncaidjrp3x4rssy1lhlhi-binutils-2.27/lib/libbfd.so > /nix/store/b7sf8p9fgjlrwr1ndwvwdy71lfnn02pv-binutils-2.27-lib/lib/libbfd-2.27.so > /nix/store/b7sf8p9fgjlrwr1ndwvwdy71lfnn02pv-binutils-2.27-lib/lib/libbfd.la > /nix/store/b7sf8p9fgjlrwr1ndwvwdy71lfnn02pv-binutils-2.27-lib/lib/libbfd.so > /nix/store/cwxfpjwr4fp6mhyfc46pj0apy4w4dwyr-binutils-2.27-lib/lib/libbfd-2.27.so > /nix/store/cwxfpjwr4fp6mhyfc46pj0apy4w4dwyr-binutils-2.27-lib/lib/libbfd.la > /nix/store/cwxfpjwr4fp6mhyfc46pj0apy4w4dwyr-binutils-2.27-lib/lib/libbfd.so > /nix/store/j1myzr7f9139kckijcy6yqv4l62vml8j-binutils-2.27-lib/lib/libbfd-2.27.so > /nix/store/j1myzr7f9139kckijcy6yqv4l62vml8j-binutils-2.27-lib/lib/libbfd.la > /nix/store/j1myzr7f9139kckijcy6yqv4l62vml8j-binutils-2.27-lib/lib/libbfd.so
I had the same problem in 2014[1]. Didn't solve it :-) According to "./configure --help", the binutils package needs to be the one cross-compiled for AVR. Do you know how simulavr compares to simavr? simulavr seems pretty dead, whereas simavr maintainer just put out a release. Or is simulavr simply "completed"? [1]: https://github.com/bjornfor/nixpkgs/tree/avr-stuff Best regards, Bjørn Forsman _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev