Multiple Versions of Same Port

2003-03-04 Thread John McClure
Thanks in advance for any help. I'm new to FreeBSD.

I want to maintain multiple copies of the apache
server, one running PHP, another running mod_perl,
perhaps another configured differently ...

If I use the ports system, how do I go about this? I
can use a different PREFIX for each different
installation, but will the ports system overwrite the
information each time under /var/db/pkg? If so, I'm
thinking this would break the pkg_delete functionality
at least.

I thought I might just cp the apache13 port, call if
something different, say apache13-2, and then do a
"make PREFIX=/usr/local/apache_whatever install". But
should I use the ports system for this? Under linux
I'd just do different compiles, which I could do here,
but I like the ease-of-upgrading provided by ports so
I'd like to use that if I could, as well as just gain
the general insight.

I tried searching the archives but couldn't find
anything helpful. Sorry if I missed something. Any
help here would be appreciated.

uname -a *
FreeBSD 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct  9
15:08:34 GMT 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386

-GM

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Aliasing Libraries or Installing Older Versions

2003-03-04 Thread John McClure
Thanks in advance for any help.

Trying to build mod_php4 (version 4.3.1) as a port,
basically not a big deal, BUT ... when I try to add
XSLT support via Sablotron, the Sablotron port builds
nicely from /usr/ports/textproc/sablotron but installs
a version of library that ldconfig -r lists as
lsablot.70.

The mod_php4 build complains (as pasted below) that is
can't find sablot.69. I rebuilt the library cache by
running ldconfig, but it appears that php is looking
specifically for sablot.69 and nothing else.

Can a library be aliased? Or should an older version
be installed? If so, how do I obtain that? Hints?
Suggestions?

* BEGIN ERROR PASTE *

===>   mod_php4-4.3.1 depends on shared library:
sablot.69 - not found
===>Verifying install for sablot.69 in
/usr/ports/textproc/sablotron
===>   Returning to build of mod_php4-4.3.1
Error: shared library "sablot.69" does not exist
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

* END ERROR PASTE 

uname -a *
FreeBSD 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct  9
15:08:34 GMT 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386

-GM

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Multiple Apache Ports

2003-03-07 Thread John McClure
Greetings all.

Time for me to install another Apache in a different
location, so I can have two, differently configured,
Apache installs running side-by-side.

When I try to install the same port again, however,
with a different PREFIX, the pkg system complains that
I've already got an Apache installed. Should I force
this new install? Earlier, when I worried that this
would overwrite information in /var/db/pkg someone
kindly advised me not to worry about it, that it
wouldn't do this. But how should I handle the
exception that's showing?

Any advice is appreciated.

Peace.

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


subscribe freebsd-questions

2003-03-24 Thread John McClure
subscribe freebsd-questions

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


make index && make readmes

2003-03-24 Thread John McClure
Ouch. I've done some searching through the mailing
list archives and I've Googled my google off, and I've
found references to the problem but no real definitive
addressing of it ...

I'm sure this has come up, therefore, but ... My "make
index" after a cvsup of the ports collection breaks
with a "Duplicate INDEX entry". How should I address
this? I'm new to this system and I don't just want to
go poking around.

Also, my "make readmes" from /usr/ports also breaks in
the Chinese collection with an error along the lines
of "arguments list too long".

Argh. Lament.

Any help or insight would, of course, be appreciated.

Thanks in advance.

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


5.0 In-stalls

2003-03-24 Thread John McClure
I'm trying to install 5.0-RELEASE off of CDs made from
the latest ISO images. Everything proceeds well, up to
a point. The probing looks good, sysinstall seems to
proceed nicely ...

But the install breaks telling me that the filesystem
is full while trying to complete an extract. I
allocate 128MB for the root mount, but when I allocate
more, it still breaks but on a later extract, so the
install seems to proceed futher. I know I'm missing
something obvious.

Thanks for any help and I'll be happy to supply any
necessary info ...

Peace,
GM

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Installation Woes

2003-03-26 Thread John McClure
Argh.

Since my original install wouldn't accept a root
partition of 256M and since I had no idea what the
minimum should be, I just upped that allotment to 1G
and happiness ensued. After this, my installation
appeared to proceed normally.

Almost.

When the installation started I got an error, which
I've gotten on subsequent attempts:

"Error mounting /mnt/dev/ad0s1f on /mnt/usr : Invalid
argument"

This is making me very sad. Firstly, the /usr mount is
allocated the vast bulk of my hard drive space, about
23G. From what I understand, this shouldn't really be
an issue, and I've supplied a newfs argument:

newfs -f 2048 -b 16384

The first time the installation completed and I tried
to reboot, I got a bunch of error messages informing
me that I had an "INVALID FILESYSTEM: Check with
fsck", and then got subsquently dropped into a %
prompt as root. The filesystem was read-only and the
fsck I ran there told me that there was a problem with
/mnt/usr and /mnt/var.

So ... ideas? Any suggestions on another course to
take. I'm going to install FreeBSD on this system if I
have to pry the hard drive open and hand copy the bits
with a magnetic needle. But since that would obviously
take some time, I'd prefer it if someone had any
insights.

Also, I'm still trying to figure out what to do about
multiple INDEX entries warning following a "make
index" after a ports cvsup, so if anyone's got any
ideas on that, too ...

Thanks in advance for any help. It is appreciated.

Peace,
GM

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Hell of a time

2003-03-31 Thread John McClure
Somebody pleeeaaasse help.

I've been trying to install 5.0-RELEASE on an old Dell
600MHz P3. Sysinstall works fine, no issues there. No
issues at all until I get the final "do-or-die"
message and then whammo! There's a problem with
/mnt/usr.

Also, the root partition takes a very large amount of
space. I've read the handbook, and also "Absolute BSD"
and they both indicate that the root partition should
take around 128MB of space. But my install won't take
that at all. I'm choosing to install "All", source,
executables, the whole shebang. But still, it doesn't
seem that the 1G of space I'm allocating jives at all
with the stated 128MB requirement? What's up with
that?

Once the install completes -- it makes it past the
/mnt/usr problem, at least initially -- the reboot
indicates that I need to do a manual fsck, which, if I
wasn't comfortable with Unix I'd be extremely offended
by.

So ... Any suggestions? My system is pretty vanilla,
no unusual hardware, just a stock Dell system from
three years ago, although it's got a DVD and CD/RW.
Anyone please help.

Thanks.

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Hell of a time, Cont'd

2003-03-31 Thread John McClure
Firstly, thanks for the help so far.

My disk is an IBM 27G. The Disklabel config looks like
this:

Part Mount  Size Newfs   Part
 -   -   
ad0s1a   /1024MB UFS1Y
ad0s1b   swap 1024MB SWAP
ad0s1d   /var  256MB UFS1+S  Y
ad0s1e   /tmp  256MB UFS1+S  Y
ad0s1f   /usr23545MB UFS1+S  Y

Also, for the "f" partition I make sure that:
newfs -f 2048 -b 16384

As far as my installation specs go, I choose "All" to
install everything, including source, which I want,
and I choose the ports collection as well because it
feels me with a sense of divine power, and I also
actually use it.

As you can see, my /usr mount should have plenty o'
space.

When I specify mount points manually I enter "/" or
"/usr", not "mnt/usr". However, I've only, on most
tries, been specifying the root partition and swap, so
I can control those sizes, and letting the "Auto"
config take over after that.

Finally, when I create the initial slice, I allocate
the whole space for freebsd, which I want, and I press
"S" in order to ensure that it is bootable.

Thanks again. Any advice is hugely appreciated.

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"