Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Make Install

 
Goto page Previous  1, 2
   FreeBSD Hosting (Home) -> FreeBSD Handbook RSS
Next:  Still Cannot Start KDE  
Author Message
Bas v.d. Wiel

External


Since: Aug 24, 2003
Posts: 6



(Msg. 16) Posted: Sun Jun 29, 2003 7:09 pm
Post subject: Re: Make Install [Login to view extended thread Info.]
Archived from groups: comp>unix>bsd>freebsd>misc (more info?)

"Chris Clementson" wrote in message

> in article slrnbftqr7.2efv.wblock.RemoveThis@w0nkity.wonkity.com, Warren Block at
> wblock.RemoveThis@wonkity.com wrote on 6/29/03 6:36 AM:
>
> >> OK now what if /usr/ports/whatever doesn't already exist on my system?
> >> Suppose it is something I just downloaded to my little directory
somewhere?
> >> I would think whereis is going to return with whereaint.
> >
> > Of course. If you don't have the ports system, you can't use the ports
> > system.
>
> You misunderstand my hypothetical. I download a port "schmozkapop".
Suppose
> there is no directory /usr/ports/schmozkapop, or can this never happen if
> the ports system is kept up to date in which case it would have to know
> about every port in existence?

Now I see!! You misunderstand the use of the ports system! The idea is to
not download anything yourself, just move into the /usr/ports/xxx/xxx
directory of your choice and type:

make
make install
make clean

there.. that's all there is to it. No downloading anything, no extracting..
no nothing. There are thousands of apps under /usr/ports and it's all
handled automatically. Most likely you'll find the app you're trying to
install in there too. What app are you trying to install by the way? Maybe I
can give you direct instructions on how to get it working..

Bas

 >> Stay informed about: Make Install 
Back to top
Login to vote
Chris Clementson

External


Since: Jun 27, 2003
Posts: 6



(Msg. 17) Posted: Sun Jun 29, 2003 7:09 pm
Post subject: Re: Make Install [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

in article 3eff1d46$0$128$e4fe514c@dreader5.news.xs4all.nl, Bas v.d. Wiel at
bwiel RemoveThis @home.nl wrote on 6/29/03 10:09 AM:

> Now I see!! You misunderstand the use of the ports system! The idea is to
> not download anything yourself, just move into the /usr/ports/xxx/xxx
> directory of your choice and type:
>
> make
> make install
> make clean
>
> there.. that's all there is to it. No downloading anything, no extracting..
> no nothing. There are thousands of apps under /usr/ports and it's all
> handled automatically. Most likely you'll find the app you're trying to
> install in there too. What app are you trying to install by the way? Maybe I
> can give you direct instructions on how to get it working.

That makes it very clear -- thank you, Bas. This is the overview that is
missing from the (printed) manual. Question: if the ports system is so
wonderful, why are there packages?

The app I'm trying to install is barry, which is described as "a nice KDE
frontend to the ports system" -- how ironic!

> I'll sift through my various CD's to see if I can find it
> for you later today.

Very kind of you to offer, but let's see how far I get with the ports system
before you start looking.

Thanks again!

 >> Stay informed about: Make Install 
Back to top
Login to vote
chris319

External


Since: Jun 28, 2003
Posts: 6



(Msg. 18) Posted: Sun Jun 29, 2003 7:09 pm
Post subject: Re: Make Install [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Bas v.d. Wiel wrote:

> just move into the /usr/ports/xxx/xxx
> directory of your choice and type:
>
> make
> make install
> make clean
>
> there.. that's all there is to it. No downloading anything, no
> extracting.. no nothing.

Tried all this with cvsup itself. Got the port from CD, typed make, etc.,
various files were downloaded and there was a flurry of activity on the
console. When it was finished I entered the command "cvsup" and got the
response "Command not found."
 >> Stay informed about: Make Install 
Back to top
Login to vote
Bas v.d. Wiel

External


Since: Aug 24, 2003
Posts: 6



(Msg. 19) Posted: Sun Jun 29, 2003 8:59 pm
Post subject: Re: Make Install [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

<SNIP>
> That makes it very clear -- thank you, Bas. This is the overview that is
> missing from the (printed) manual. Question: if the ports system is so
> wonderful, why are there packages?

Ports will download source code and compile the app on your machine locally.
This is ok for smaller apps, but for things like KDE it could take literally
forever on a slower computer. That's what packages are for. They contain not
the source, but precompiled binaries plus information on where these
binaries should go and how to configure them. This then happens
automatically without lengthy compiles.
The advantage of the ports system is that it's usually more up to date than
packages, and you can insert compile-time optimizations or options. In the
file /etc/make.conf you can define your CPU-type so that the compiler will
take into account special features of your CPU such as MMX or SSE(2) and it
probably also compiles the binary so that it takes into account different
types and amounts of cache but I'm no expert on this so I could be wrong.
Another advantage of ports are tunable variables. I remember the instant
messenger Gaim comes with options to turn on and off support for a
spell-checker and audio by setting variables. The port will let you know
about such options first thing when you type 'make' in its directory, also
you can find it in the pkg-descr or pkg-message files that are present in
every port's directory. pkg-message isn't always there, but -descr sure is.
It offers a more detailed description of the port you're looking at.

Also a word of warning about Java (and maybe some other ports with
lincensing problems), since you seem new to FreeBSD and probably will be
installing Java for your web browser sometime in the future. There are Java
ports in the ports tree, but those involve some work because of licensing
constraints by Sun Microsystems. It involves registering at Sun's website,
downloading two large files and a third smaller file.. which is a hassle.
But once those files are in /usr/ports/distfiles you can just type 'make' in
/usr/ports/java/jdk13 and things will work fine. I emphatically advise you
not to try and install Java on FreeBSD on your own.. the hassle you have to
go through with this port is absolutely nothing compared with the pool of
problems you'll land in when you go about it on your own.

Bas
 >> Stay informed about: Make Install 
Back to top
Login to vote
Paul Schmehl

External


Since: Nov 25, 2003
Posts: 5



(Msg. 20) Posted: Mon Jun 30, 2003 12:13 am
Post subject: Re: Make Install [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"chris319" wrote in message

> Bas v.d. Wiel wrote:
>
> Tried all this with cvsup itself. Got the port from CD, typed make, etc.,
> various files were downloaded and there was a flurry of activity on the
> console. When it was finished I entered the command "cvsup" and got the
> response "Command not found."
>
You know, it occurs to me that you're so new to FreeBSD that you probably
don't know how to find things easily. There is an utility in FreeBDS named
"locate". You can use it to find things by typing part or all of their
name. When you install something new, you can update the locate database by
typing:
% /usr/libexec/locate.updatedb
(You have to be root to do this)

Then you can type:
%locate foo and find what you're looking for.

Sometimes the list will be real long, so you might have to use "less",
another utiltity that allows you to view one page at a time. You also have
to use the "pipe" command, to send the output of the first command through
the second one. You type this:
% locate foo | less

To page up and down, hit Ctrl-F or Ctrl-B (for forward and backward
respectively).

Also, you can use "which" to find programs that are in your path. Like
this:
$ which locate

As Bas pointed out, you have to logout and back in to update your path when
you install something new - or type the absolute patch to it.


--
Paul Schmehl
pschmehl DeleteThis @sbcglobal.net
http://www.utdallas.edu/~pauls/
 >> Stay informed about: Make Install 
Back to top
Login to vote
chris319

External


Since: Jun 28, 2003
Posts: 6



(Msg. 21) Posted: Mon Jun 30, 2003 12:13 am
Post subject: Re: Make Install [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Paul Schmehl wrote:

> You know, it occurs to me that you're so new to FreeBSD that you probably
> don't know how to find things easily.

Some of us were born without that FreeBSD gene Wink

Thanks for your help.
 >> Stay informed about: Make Install 
Back to top
Login to vote
Bas v.d. Wiel

External


Since: Aug 24, 2003
Posts: 6



(Msg. 22) Posted: Mon Jun 30, 2003 1:47 am
Post subject: Re: Make Install [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"chris319" wrote in message

> Bas v.d. Wiel wrote:
>
> > just move into the /usr/ports/xxx/xxx
> > directory of your choice and type:
> >
> > make
> > make install
> > make clean
> >
> > there.. that's all there is to it. No downloading anything, no
> > extracting.. no nothing.
>
> Tried all this with cvsup itself. Got the port from CD, typed make, etc.,
> various files were downloaded and there was a flurry of activity on the
> console. When it was finished I entered the command "cvsup" and got the
> response "Command not found."
>

oh sorry.. login again, or type 'rehash' as root to refresh the search path.
You'll get cvsup. There were no error messages of any kind?

Bas
 >> Stay informed about: Make Install 
Back to top
Login to vote
chris319

External


Since: Jun 28, 2003
Posts: 6



(Msg. 23) Posted: Mon Jun 30, 2003 1:47 am
Post subject: Re: Make Install [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Usage: cvsup [options] supfile [destDir]

What do I give as a supfile?

Bas v.d. Wiel wrote:

>
> "chris319" wrote in message
>
>> Bas v.d. Wiel wrote:
>>
>> > just move into the /usr/ports/xxx/xxx
>> > directory of your choice and type:
>> >
>> > make
>> > make install
>> > make clean
>> >
>> > there.. that's all there is to it. No downloading anything, no
>> > extracting.. no nothing.
>>
>> Tried all this with cvsup itself. Got the port from CD, typed make, etc.,
>> various files were downloaded and there was a flurry of activity on the
>> console. When it was finished I entered the command "cvsup" and got the
>> response "Command not found."
>>
>
> oh sorry.. login again, or type 'rehash' as root to refresh the search
> path. You'll get cvsup. There were no error messages of any kind?
>
> Bas
 >> Stay informed about: Make Install 
Back to top
Login to vote
Paul Schmehl

External


Since: Nov 25, 2003
Posts: 5



(Msg. 24) Posted: Mon Jun 30, 2003 1:47 am
Post subject: Re: Make Install [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"chris319" wrote in message

> Usage: cvsup [options] supfile [destDir]
>
> What do I give as a supfile?

Mine is in /etc/cvsupfile. It maintains cvs uptodate with Release 4 and
ports and docs to current:

*default host=cvsup15.FreeBSD.org
*default tag=RELENG_4
*default base=/usr
*default prefix=/usr
*default release=cvs delete use-rel-suffix

src-all
ports-all tag=.
doc-all tag=.

Read the Handbook on cvsup. It's very good:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html


--
Paul Schmehl
pschmehl DeleteThis @sbcglobal.net
http://www.utdallas.edu/~pauls/
 >> Stay informed about: Make Install 
Back to top
Login to vote
chris319

External


Since: Jun 28, 2003
Posts: 6



(Msg. 25) Posted: Mon Jun 30, 2003 1:47 am
Post subject: Re: Make Install [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Paul Schmehl wrote:

> Mine is in /etc/cvsupfile. It maintains cvs uptodate with Release 4 and
> ports and docs to current:
>
> *default host=cvsup15.FreeBSD.org
> *default tag=RELENG_4
> *default base=/usr
> *default prefix=/usr
> *default release=cvs delete use-rel-suffix
>
> src-all
> ports-all tag=.
> doc-all tag=.

# cvsup /usr/supfile
Cannot get IP address of my own host -- is its hostname correct?
#
 >> Stay informed about: Make Install 
Back to top
Login to vote
Bill Vermillion

External


Since: Sep 10, 2003
Posts: 28



(Msg. 26) Posted: Mon Jun 30, 2003 5:27 am
Post subject: Re: Make Install [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article , Chris
Clementson wrote:

>Here is the epilogue to this story: the package that requires
>fontconfig as a dependency is looking for fontconfig-2.2.0.
>The version of fontconfig I managed to install after a day's
>efforts is version 2.2.1. I have no idea how to deal with this
>dilemma, or why this package won't play with a later version of
>fontconfig.

First thing to do is make sure your ports tree is uptodate.
That might fix the disrepancy.

Then you might try pkgdb -F to fix dependancies you may have
morked up along the way.

--
Bill Vermillion - bv @ wjv . com
 >> Stay informed about: Make Install 
Back to top
Login to vote
Bill Vermillion

External


Since: Sep 10, 2003
Posts: 28



(Msg. 27) Posted: Mon Jun 30, 2003 5:27 am
Post subject: Re: Make Install [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
Paul Schmehl wrote:
>"chris319" wrote in message
>
>> Bas v.d. Wiel wrote:

>> Tried all this with cvsup itself. Got the port from CD, typed
>> make, etc., various files were downloaded and there was a
>> flurry of activity on the console. When it was finished I
>> entered the command "cvsup" and got the response "Command not
>> found."

>You know, it occurs to me that you're so new to FreeBSD that
>you probably don't know how to find things easily. There is an
>utility in FreeBDS named "locate". You can use it to find things
>by typing part or all of their name. When you install something
>new, you can update the locate database by typing:

>% /usr/libexec/locate.updatedb
>(You have to be root to do this)

>Then you can type:
>%locate foo and find what you're looking for.

>Sometimes the list will be real long, so you might have to use
>"less", another utiltity that allows you to view one page at
>a time. You also have to use the "pipe" command, to send the
>output of the first command through the second one. You type
>this:

>% locate foo | less

I just made a small script [but you can make an alias] that
called locate with the -i and then pipes it to less with the -e
option.

The -i says for located to ignore case - and this can be quite
helpful if you aren't sure of the caps in the name.

So make the alias/script like this:

locate -i @ | less -e



--
Bill Vermillion - bv @ wjv . com
 >> Stay informed about: Make Install 
Back to top
Login to vote
Bill Vermillion

External


Since: Sep 10, 2003
Posts: 28



(Msg. 28) Posted: Mon Jun 30, 2003 5:27 am
Post subject: Re: Make Install [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
Warren Block wrote:
>Chris Clementson wrote:
>> in article slrnbftqr7.2efv.wblock.DeleteThis@w0nkity.wonkity.com, Warren Block at
>> wblock.DeleteThis@wonkity.com wrote on 6/29/03 6:36 AM:

>> You misunderstand my hypothetical. I download a port "schmozkapop". Suppose
>> there is no directory /usr/ports/schmozkapop, or can this never happen if
>> the ports system is kept up to date in which case it would have to know
>> about every port in existence?

>It does know about every port in existence, about seven or eight
>thousand of them. Keeping the ports system up to date brings in new
>ports and updates old ones.

As of last count there are 8866 in the current tree. Heading for
9000 RSN.

Bill
--
Bill Vermillion - bv @ wjv . com
 >> Stay informed about: Make Install 
Back to top
Login to vote
chris319

External


Since: Jun 28, 2003
Posts: 6



(Msg. 29) Posted: Mon Jun 30, 2003 7:51 am
Post subject: Re: Make Install [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I ran the sample script Paul posted and the result is:

# cvsup /usr/supfile
Cannot get IP address of my own host -- is its hostname correct?
#
 >> Stay informed about: Make Install 
Back to top
Login to vote
Paul Schmehl

External


Since: Nov 25, 2003
Posts: 5



(Msg. 30) Posted: Tue Jul 01, 2003 12:39 am
Post subject: Re: Make Install [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"chris319" wrote in message

> I ran the sample script Paul posted and the result is:
>
> # cvsup /usr/supfile
> Cannot get IP address of my own host -- is its hostname correct?
> #
>
You have *got* to start reading the documentation.

First of all, you run cvsup from the commandline like this:
/usr/local/bin/cvsup -g -L 2 /usr/supfile

Now, if you're going to run the same supfile I posted, I *hope* you are
running FreeBSD 4.x RELEASE. Otherwise that file is wrong and will get the
wrong sources for your box.

Secondly, if the machine can't resolve its own IP, you're not going to get
very far.

What do you have in the following files (please copy and paste them here.
Type "grep -v "#" <filename> to get the contents without comments):
/etc/hosts
/etc/rc.conf

--
Paul Schmehl
pschmehl RemoveThis @sbcglobal.net
http://www.utdallas.edu/~pauls/
 >> Stay informed about: Make Install 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
cannot install freebsd - while i am trying to install freebsd 5.2.1 i get and error: something about video card timing 10.000msec panic:ohci_add_done: addr 0x00004000 not found cpuid = 0; i have searched most of the freebsd handbook, any forum i could find, and talking to a..

headless install frozen. - hello: using a 4.10 release on my main machine, i was trying to make a FBSD headless install on a toshiba T4600c, because it has a minimalistic HD (200mb) and there is not any CDROM drive, just floppy drive, 20Mb ram, no LAN, no modem. if i tr...

Make World on FreeBSD 5.1 - Hi, How do I make a make world on FreeBSD version 5, is it the same things as version 4 or is there any differences ... ? Any tutorial, web site, else as FreeBSD handbook ... ? I'm currently running FreBSD 5.1 releases thx Seb

make.conf file - HELP PLEASE - I have followed the instructions as per the following url in order to update my FreeBSD fileserver. The server is currently running FreeBSD 4.9 and I would like to update it to the latest RELEASE version. The instructions on the following url have bee...

make.conf file - PLEASE HELP - I have followed the instructions as per the following url in order to update my FreeBSD fileserver. The server is currently running FreeBSD 4.9 and I would like to update it to the latest RELEASE version. The instructions on the following url have bee...
   FreeBSD Hosting (Home) -> FreeBSD Handbook All times are: Pacific Time (US & Canada)
Goto page Previous  1, 2
Page 2 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]