The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > BSD
.
google unix.com



BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem installing solaris 10 Thom SUN Solaris 4 05-21-2008 01:01 AM
problem opening TCP ports thehaapyappy IP Networking 5 04-30-2008 07:25 AM
Problem installing Solaris 9 elimunoz SUN Solaris 3 08-24-2005 03:32 PM
Problem installing gcc alfabetman UNIX for Dummies Questions & Answers 2 12-12-2001 05:58 AM
Installing a modem on a serial accelerator ports kikkin UNIX for Dummies Questions & Answers 1 02-20-2001 10:49 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-21-2008
brightstorm brightstorm is offline
Registered User
  
 

Join Date: Oct 2008
Location: Denmark
Posts: 16
Problem with re-installing ports

Hello,

I am fairly new at FreeBSD. I tried searching existing topics for a similar problem, but I found none

I have a problem reinstalling apache22 which I had to remove in my troubleshooting with mysql. Since I've got MySQL working now (joy unbounded!) I now have the task of reinstalling apache.

Before all this, I installed it from /usr/ports/apache22 (make install) and everything worked great after a tiny bit of editing in the httpd.conf.

During my MySQL troubleshooting, I performed a "pkg_delete apache22". Now, I try to do a "make install" again from /usr/ports/apache22 but now it doesn't do anything. I tried a "make", but same story. It just goes like this:

cigva# pwd
/usr/ports/www/apache22
cigva# make install
cigva#

I would have liked to see a myriad of action going on here instead of the above

Therefore, my question is - if you already have used make install on a port one time, how do you reinstall this port in the future if you uninstall it as I did? I tried pkg_add apache22 but it just says that it cannot stat the package file apache22.

Can anyone help me with this, probably simple, question?

Thanks in advance,

/Klaus
  #2 (permalink)  
Old 10-21-2008
glen.barber glen.barber is offline
Registered User
  
 

Join Date: May 2008
Location: Philadelphia, PA, USA
Posts: 117
Did you completely remove apache22?
Code:
 pkg_info apache22
If so, is your ports tree up-to-date?

Is there anything listed in the apache22 port directory?
Code:
ls -a /usr/ports/www/apache22
You could also try manually removing apache22 with:
Code:
cd /usr/ports/www/apache22; make deinstall distclean; make install
  #3 (permalink)  
Old 10-22-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
Unless you have specific reason for compiling apache from source, you can just use "pkg_add -r apache" or replace apache with respective software. Are you sure you have downloaded ports tree, like for example "portsnap fetch" , "portsnap extract" ?
  #4 (permalink)  
Old 10-22-2008
brightstorm brightstorm is offline
Registered User
  
 

Join Date: Oct 2008
Location: Denmark
Posts: 16
glen.barber,
Your "make deinstall distclean" followed up by a new "make install" was right on, it fixed the problem and my Apache is now again up and running.

sysgate,
Thank you for the tricks, I was not aware of those options. I'll be sure to test them the next time the need arises

Thanks to you both for your time!

/Klaus
Closed Thread

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0