BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old May 13th, 2003, 02:21 PM
wacko_cracko wacko_cracko is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 3 wacko_cracko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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

Quote:
[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

Reply With Quote
  #2  
Old May 13th, 2003, 07:57 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 h 5 m 45 sec
Reputation Power: 797
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

Reply With Quote
  #3  
Old May 16th, 2003, 12:30 PM
wacko_cracko wacko_cracko is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 3 wacko_cracko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > libtool-1.3.4_4 and bash settings


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway