pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

problem on RHEL6 clone



A problem was encountered while attempting to install and use pkgsrc
on [Scientific Linux][SL6], a RedHat Enterprise Linux clone.

[SL6]: https://www.scientificlinux.org/distributions/6x/63/

1st) Some fundamental software was installed from the RPM repos:

* gcc (and libstdc++)
* libncurses-devel
* zlib and zlib-devel
* openssl-devel


2nd) The pkgsrc framework was extracted and updated:

    [root@helix tmp]# tar -xzf pkgsrc.tar.bz2 -C /opt

    [root@helix pkgsrc]# cvs update -dP


3rd) Attempted a build:

    [root@helix ]# cd /opt/pkgsrc/lang/ghc

    [root@helix ghc]# make

    Makefile:59: *** missing separator.  Stop.


4th) Explore:

    [root@helix ghc]# make -v

    GNU Make 3.81
    Copyright (C) 2006  Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.

    This program built for i386-redhat-linux-gnu

    [root@helix ghc]# vi Makefile
    ...
     56 pre-build:
     57         ${ECHO} "SplitObjs=NO" > ${WRKSRC}/mk/build.mk
     58
     59 .include "../../devel/readline/buildlink3.mk"
     60 .include "../../devel/gmp/buildlink3.mk"
    ...


5th) Try something:

    [root@helix ghc]# export PKGSRCDIR=/opt/pkgsrc
    [root@helix pkgsrc]# export WORKSRC=/opt/pkgsrc

    [root@helix ghc]# make

    Makefile:59: *** missing separator.  Stop.


No Joy. Has anyone seen this error before with pkgsrc on Linux?


Home | Main Index | Thread Index | Old Index