Compilation on FreeBSD 11.1
Azerty32
azerty32 at protonmail.com
Sat Jan 6 18:47:37 CET 2018
Hello,
I fixed this issue with
setenv CPATH /usr/local/include
setenv LIBRARY_PATH /usr/local/lib
setenv LD_LIBRARY_PATH /usr/local/lib
But now I have error in gmake:
LD -pthread -o bird obj/conf/cf-parse.tab.o obj/conf/cf-lex.o obj/conf/conf.o obj/filter/filter.o obj/filter/f-util.o obj/filter/tree.o obj/filter/trie.o obj/lib/bitops.o obj/lib/checksum.o obj/lib/event.o obj/lib/flowspec.o obj/lib/idm.o obj/lib/ip.o obj/lib/lists.o obj
/lib/mac.o obj/lib/md5.o obj/lib/mempool.o obj/lib/net.o obj/lib/patmatch.o obj/lib/printf.o obj/lib/resource.o obj/lib/sha1.o obj/lib/sha256.o obj/lib/sha512.o obj/lib/slab.o obj/lib/slists.o obj/lib/tbf.o obj/lib/timer.o obj/lib/xmalloc.o obj/nest/a-path.o obj/nest/a-s
et.o obj/nest/cli.o obj/nest/cmds.o obj/nest/iface.o obj/nest/locks.o obj/nest/neighbor.o obj/nest/password.o obj/nest/proto.o obj/nest/rt-attr.o obj/nest/rt-dev.o obj/nest/rt-fib.o obj/nest/rt-show.o obj/nest/rt-table.o obj/proto/bfd/bfd.o obj/proto/bfd/io.o obj/proto/b
fd/packets.o obj/proto/babel/babel.o obj/proto/babel/packets.o obj/proto/bgp/attrs.o obj/proto/bgp/bgp.o obj/proto/bgp/packets.o obj/proto/ospf/dbdes.o obj/proto/ospf/hello.o obj/proto/ospf/iface.o obj/proto/ospf/lsack.o obj/proto/ospf/lsalib.o obj/proto/ospf/lsreq.o obj
/proto/ospf/lsupd.o obj/proto/ospf/neighbor.o obj/proto/ospf/ospf.o obj/proto/ospf/packet.o obj/proto/ospf/rt.o obj/proto/ospf/topology.o obj/proto/pipe/pipe.o obj/proto/radv/packets.o obj/proto/radv/radv.o obj/proto/rip/packets.o obj/proto/rip/rip.o obj/proto/static/sta
tic.o obj/sysdep/unix/io.o obj/sysdep/unix/krt.o obj/sysdep/unix/log.o obj/sysdep/unix/main.o obj/sysdep/unix/random.o obj/sysdep/bsd/krt-sock.o
/usr/bin/ld: cannot open output file bird: Is a directory
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:120: bird] Error 1
Sent with [ProtonMail](https://protonmail.com) Secure Email.
> -------- Original Message --------
> Subject: Re: Compilation on FreeBSD 11.1
> Local Time: January 6, 2018 4:38 PM
> UTC Time: January 6, 2018 3:38 PM
> From: o at zgur.org
> To: Azerty32 <azerty32 at protonmail.com>, bird-users at network.cz <bird-users at network.cz>
>
> 06.01.2018, 18:33, "Azerty32" <azerty32 at protonmail.com>:
>
>> Hello,
>
> Hello,
>
>> I have FreeBSD XXX 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017 root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>>
>> I installed these packages: hs-readline gauche-readline
>>
>> But I cant compile bird-2.0.0:
>> checking for library containing tgetent... -ltinfo
>> checking for readline/readline.h... no
>> configure: error: The client requires GNU Readline library. Either install the library or use --disable-client to compile without the client.
>>
>> # find / -name "readline.h"
>> /usr/include/edit/readline/readline.h
>> /usr/local/include/editline/readline.h
>> /usr/local/include/readline/readline.h
>>
>> Could you help me please?
>>
>> Many thanks.
>
> I think you add -l /usr/local/include and re-compile
> or add --with-readline-inc=/usr/local/include
>
> Regards
>
> Ozgur
>
>>
>> Sent with [ProtonMail](https://protonmail.com/) Secure Email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180106/4b65ef39/attachment.html>
More information about the Bird-users
mailing list