mc 4.7.4

Kurt Jaeger pi at opsec.eu
Thu Sep 9 07:24:25 UTC 2010


Hi!

> I'm having trouble compiling it.
> 
>   CC     textconf.o
>   CC     treestore.o
>   CC     user.o
>   CC     mountlist.o
>   CCLD   mc
> /usr/local/lib/libslang.so: undefined reference to `tgetnum'
> /usr/local/lib/libslang.so: undefined reference to `tgetflag'
> /usr/local/lib/libslang.so: undefined reference to `tgetent'
> /usr/local/lib/libslang.so: undefined reference to `tgetstr'
> gmake[3]: *** [mc] Error 1
> gmake[3]: Leaving directory `/usr/obj/usr/ports/misc/mc/work/mc-4.7.4/src'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/usr/obj/usr/ports/misc/mc/work/mc-4.7.4/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/obj/usr/ports/misc/mc/work/mc-4.7.4'
> gmake: *** [all] Error 2
> *** Error code 1
> 
> Stop in /usr/ports/misc/mc.
> *** Error code 1
> 
> Stop in /usr/ports/misc/mc.

cd /usr/ports/misc/mc/work/mc-4.7.4/src
vi Makefile

Find ^LIBS and add -lcurses:

LIBS = -lcurses

then:

cd /usr/ports/misc/mc
make install

should work, but still, why does it not pick it up in the configure script ?
 
-- 
pi at opsec.eu            +49 171 3101372                        10 years to go !


More information about the freebsd-ports mailing list