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:
  #1  
Old March 24th, 2002, 05:18 AM
Ted Striker Ted Striker is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Posts: 409 Ted Striker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Question Questions about FreeBSD sysinstall

Okay, I'm trying to load PHP4 through the sysinstall package collection. It bombed out and said to look at the "debug screen" for more information on why it messed up. At first I thought, oh, I just forgot to stop the Apache service. But I did that and tried to reinstall the package, and no luck. First question: Is there a debug screen in sysinstall?

So I couldn't find the damn debug screen, so I thought I'd just download the source for Apache and PHP and recompile
them instead. I went to sysintall to uninstall Apache, and
apparently there are two dependencies on it! Dammit!
Is there a way to find out the dependencies? Like is there
an install log maybe somewhere?

Reply With Quote
  #2  
Old March 24th, 2002, 05:48 AM
Ted Striker Ted Striker is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Posts: 409 Ted Striker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Arrow

Okay, so apparently, ALT+F2 will get you to the debug screen. Lemme check that out and see if it does any good.

EDIT: Damn, that only works if you're on the console and have access to a virtual session! I am remote through SSH. :-(

Last edited by Ted Striker : March 24th, 2002 at 05:57 AM.

Reply With Quote
  #3  
Old March 24th, 2002, 05:59 AM
Bob Loblaw Bob Loblaw is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 174 Bob Loblaw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
hmm, I don't know how to remove stuff from a sysinstall but for a clean method to manage packages do minimal install and use ports get portupgrade which enables easy management of all your packages. If you need the source from a port to compile yourself just make extract in that dir and your src will be in the work dir. It is also fine just to use the php ports straight make install it is at 4.1.2 now. If this is useless to you sorry.

edit: maybe if you compile from port it will overwrite
or just make install might throw an error but maybe not since it checks pkgdb to see

Last edited by Bob Loblaw : March 24th, 2002 at 06:02 AM.

Reply With Quote
  #4  
Old March 24th, 2002, 11:07 AM
Ted Striker Ted Striker is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Posts: 409 Ted Striker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Thumbs up

Hey Bob thanks for the info.

Sometimes I make things harder on myself than is
necessary!!!

I did one of the things you suggested, I just ran
make, and then make install, and it was VERY PAINLESS.
I LOVED the little dialog box that popped up when running
make, it even gave a couple of nice selection boxes for integrating the module with postgres (or other popular
Apache/PHP modules). That was a very pleasant suprise
and makes me very happy!

Regarding CVSup, I have a question. Now, the purpose is to
update your ports to the latest version, right? But say I am on
FreeBSD 4.4. Say the latest version of Webmin on the last release of FreeBSD 4.4 CD was 0.50. (just making these version numbers up). Now if the most current version of webmin on the FreeBSD 4.5 CD is now up to 0.82, will CVSup update my FreeBSD 4.4 Webmin port to that version?

Or is there a ceiling with the version of ports, that being
you can only get the latest ports with the most current
release of FreeBSD?

I'd like to have available the latest ports that someone running FreeBSD 4.5 has.

Reply With Quote
  #5  
Old March 24th, 2002, 01:14 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
>> CVSup update my FreeBSD 4.4 Webmin port to that version?

Yes, when you CVSup your ports and it will update whole ports. Be sure to check in /usr/share/examples/cvsup for the example of CVSup.. Also, check in FreeBSD's handbook at www.freebsd.org ..

Reply With Quote
  #6  
Old March 24th, 2002, 09:16 PM
Ted Striker Ted Striker is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Posts: 409 Ted Striker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Thumbs up

Thanks mezz.

Reply With Quote
  #7  
Old March 27th, 2002, 02:33 PM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
Just a minor tip on top of the portupgrade advice offered above for package installation:

to check what packages you have currently installed, try:
Code:
pkg_info
, which will give you a nice list of everything installed so far. From what I can ascertain this info is kept in /var/db/pkg/, one directory per package/port installed. With this in mind whenever I want to remove a package from my system, I do:
Code:
cd /var/db/pkg
pkg_delete name-of-package-0.1etc.01/ # ie point pkg_delete at a directory!

and bingo the package is removed (as long as there are no deps). With regard to deps, pkg_delete usually tells you what's required by the package you're trying to remove if applicable, in which case you can either manually remove all deps sequentially or perhaps try the portupgrade tool (which I've not made much use of myself, but hear is good).

I prefer using the pkg_* tools to /stand/sysinstall, mainly because of the 'debug' info you can view in console mode.

Another really sweet tool is pkg_version - this checks the versions of each package/port currently installed against the latest version as reported in /usr/ports tree. With an additional command-line switch (-c?), it'll also write the commands required to upgrade each port into a file specified after the switch, which is very useful in determining what you need to do to get the package/port up to the latest version with the least fuss.

Anyway, good luck.
Jez

Reply With Quote
  #8  
Old March 27th, 2002, 05:55 PM
Bob Loblaw Bob Loblaw is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 174 Bob Loblaw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Here is a good read on ports(upgrade)if you have not read before

originally dropped by freebsd

doh:
http://www.onlamp.com/pub/a/bsd/200...ry_Daemons.html

Last edited by Bob Loblaw : March 27th, 2002 at 05:59 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Questions about FreeBSD sysinstall


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 4 hosted by Hostway