#1
  1. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    5
    Rep Power
    0

    libtool-1.3.4_4 and bash settings


    Hi

    Am pretty new to FreeBSD and after installing it and trying to configure some options, have run into a few problems and was wondering if somone could point me in the right direction.

    While trying to install wget i got an error while it was trying to install the library libtool-1.3.4_4

    [root@realm:/usr/ports/devel/libtool] # make install && make clean
    ===> Building for libtool-1.3.4_4
    Making all in .
    Making all in libltdl
    /bin/sh ./config.status --recheck
    running /bin/sh ./configure --prefix=/usr/local i386-portbld-freebsd5.0 --enabl
    e-ltdl-install --cache-file=.././config.cache --srcdir=. --no-create --no-recurs
    ion
    loading cache .././config.cache
    checking for a BSD compatible install... (cached) /usr/bin/install -c
    checking whether build environment is sane... yes
    checking whether make sets ${MAKE}... (cached) yes
    checking for working aclocal... missing
    checking for working autoconf... missing
    checking for working automake... missing
    checking for working autoheader... missing
    checking for working makeinfo... found
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for gcc... (cached) cc
    checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro ) works... yes
    checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro ) is a cross-compi
    ler... no
    checking whether we are using GNU C... (cached) yes
    checking whether cc accepts -g... (cached) yes
    checking for working const... (cached) yes
    checking for inline... (cached) inline
    checking host system type... i386-portbld-freebsd5.0
    checking build system type... i386-portbld-freebsd5.0
    checking for ranlib... (cached) ranlib
    checking for ld used by GCC... (cached) /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
    checking for BSD-compatible nm... (cached) /usr/bin/nm -B
    checking whether ln -s works... (cached) yes
    updating cache .././config.cache
    ltconfig: unrecognized option `--disable-ltlibs'
    Try `ltconfig --help' for more information.
    configure: error: libtool configure failed
    *** Error code 1

    Stop in /usr/ports/devel/libtool/work/libtool-1.3.4/libltdl.
    *** Error code 1

    Stop in /usr/ports/devel/libtool/work/libtool-1.3.4.
    *** Error code 1

    Stop in /usr/ports/devel/libtool.
    I have looked around but have not been able to get a solution for this problem


    Also i have installed bash and set up the .bash_profile with this code


    PS1="[\u@\h:\w] "
    case `id -u` in
    0) PS1="${PS1}# ";;
    *) PS1="${PS1}$ ";;
    esac


    this works fine on the current user but if i add a new user they get the prompt bash rather than the formatted outlook and the onyl way to change that is cp a .bash_profile from an existing user. Is there a way to make this automatic when a new user is added they get the formatted bash prompt?

    I have a shell account and in my home dir there is no .profile or .bash_profile etc settings is this set up globally then for every user?

    thanks in advance
    wc
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,782
    Rep Power
    4300
    For the first question about libtool, are you using the latest ports or what? I have a laptop that I'm going to cvsup to FreeBSD 4.8 soon, so I'll see if I can reproduce the problem.

    >> Is there a way to make this automatic when a new user is added they get the formatted bash prompt?
    Copy .bash_profile to /etc/skel/. Every time you add a user using adduser, the files from this directory will get copied to the user's new home directory.

    Hope this helps
  4. #3
  5. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    5
    Rep Power
    0
    thanks for your reply Scorpions4ever

    I had installed FreeBSD 5. after doing a bit of reading i thought it best to revert back to 4.7 stable. I just installed that and everything seems to be working fine.

    and thanks for the second point

    much appreciated.
    Regards
    wc

IMN logo majestic logo threadwatch logo seochat tools logo