Re: Re: Source Upgrade

2011-08-04 Thread jhall


> Based on this configuration, you grabbed CURRENT, and not 8.2.
> 
> Have a look here and alter your configuration, and rebuild.
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
> 
> Hope this helps
> -jgh
> 
THANK YOU!  I don't know how long I had looked at that and did not see the 
default tag=. 
Removing that fixed the problem.


Jay

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Source Upgrade

2011-08-03 Thread Jason Helfman

On Wed, Aug 03, 2011 at 10:02:28PM -0500, jh...@socket.net thus spake:

I am attempting to upgrade my server from 8.0 to 8.2 Release by upgrading
the source code and recompiling the kernel.  I am using cvs to download
the source code.  Following are the entries in my cvs-supfile.

The system is an HP server.  Following is the system information.
FreeBSD  8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009
  r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

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

src-all
ports-all



Based on this configuration, you grabbed CURRENT, and not 8.2.

Have a look here and alter your configuration, and rebuild.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

Hope this helps
-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Source Upgrade

2011-08-03 Thread jhall
I am attempting to upgrade my server from 8.0 to 8.2 Release by upgrading 
the source code and recompiling the kernel.  I am using cvs to download 
the source code.  Following are the entries in my cvs-supfile. 

The system is an HP server.  Following is the system information.
FreeBSD  8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009  
   r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386 

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

src-all
ports-all

The download completes without any errors.  The first time I attempted to 
compile the source code, I assumed I had made a mistake.  So, I deleted 
all of /usr/src and downloaded it again using cvs.  When I attempt make 
buildworld, I still receive the following messages. 

===> kerberos5/tools/asn1_compile (all)
cd /usr/src/kerberos5/tools/asn1_compile/../make-roken && make
cc -O2 -pipe 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1 
-I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/asn1_compile/../../include 
-std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen.c 
cc -O2 -pipe 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1 
-I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/asn1_compile/../../include 
-std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen_copy.c
 
cc -O2 -pipe 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1 
-I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/asn1_compile/../../include 
-std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen_decode.c
 
cc -O2 -pipe 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1 
-I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/asn1_compile/../../include 
-std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen_encode.c
 
cc -O2 -pipe 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1 
-I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/asn1_compile/../../include 
-std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen_free.c
 
cc -O2 -pipe 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1 
-I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/asn1_compile/../../include 
-std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include -c gen_glue-fixed.c 
gen_glue-fixed.c: In function 'generate_2int':
gen_glue-fixed.c:55: warning: assignment from incompatible pointer type
gen_glue-fixed.c:55: error: 'Member' has no member named 'next'
gen_glue-fixed.c: In function 'generate_int2':
gen_glue-fixed.c:83: warning: assignment from incompatible pointer type
gen_glue-fixed.c:83: error: 'Member' has no member named 'next'
gen_glue-fixed.c: In function 'generate_units':
gen_glue-fixed.c:114: error: 'struct memhead' has no member named 'prev'
gen_glue-fixed.c:114: error: 'Member' has no member named 'prev'
gen_glue-fixed.c: At top level:
gen_glue-fixed.c:129: error: conflicting types for 'generate_glue'

/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen_locl.h:65:
 
error: previous declaration of 'generate_glue' was here 
*** Error code 1

Stop in /usr/src/kerberos5/tools/asn1_compile.
*** Error code 1

Stop in /usr/src/kerberos5/tools.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

My Googling has not resulted in any results that are helpful. Any 
suggestions would be greatly appreciated. 

Thank you in advance.



Jay

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Source upgrade from 7.2R o 8.0R

2009-12-13 Thread krad
2009/12/13 Steven Friedrich 

> When I try to build a kernel, make buildkernel, it complains that several
> directories are missing, i.e., axe, ums, umass, etc.
>
> I'm doing a make update and my file says src-all, so how could there be
> missing directories?
>
> I'm using csup. I tried to go back and use cvsup, but it appears it's been
> removed.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>

 make sure your object tree is clean, to be sure rm -rf /usr/obj/*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Source upgrade from 7.2R o 8.0R

2009-12-12 Thread Steven Friedrich
When I try to build a kernel, make buildkernel, it complains that several 
directories are missing, i.e., axe, ums, umass, etc.

I'm doing a make update and my file says src-all, so how could there be 
missing directories?

I'm using csup. I tried to go back and use cvsup, but it appears it's been 
removed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Source upgrade from 6.3-PRERELEASE to 7-STABLE

2008-04-06 Thread Joshua Isom


On Apr 5, 2008, at 3:57 AM, Matthew Seaman wrote:


Joshua Isom wrote:
I've looked back at a lot of the emails about upgrading a system from 
6 to 7, but all seem to contain some caveat or other, generally 
ports.  I want a "clean" system, but don't want to deal with backing 
up, reformatting, and installing, not to mention reconfiguring 
everything.  Since by now many people have done it, what's the best 
way to upgrade from 6.3 to 7.0 for the entire system, base and ports?


Note that once you have the base OS updated, you can leave it running
with the ports from 6.x for a while -- so long as you've still got the
6.x shlibs available everything will carry on working.  That means you
either have to install the misc/compat6.x port or you have to skip the
'make delete-old-libs' step at the end of the buildworld procedure.  
(Well,

postpone it until the ports can be rebuilt.)

...

Don't forget the 'make delete-old-libs' step at the end.  You can 
probably
deinstall compat6x similarly although there are some ports that will 
now

require it -- diablo-j{dk,re}15 for example.

Cheers,

Matthew



I decided to go with the plan of listing all leaf ports and all 
ports(install leaves first and then find out what's missing that I'd 
want based on everything I had), then deleting all of them and cleaning 
up some of the leftovers, and reinstalling the base and deleting the 
old libraries to get a good clean 7.0 system.  Only problem is when I 
started rebuilding stuff, I think libtool found f77 and some of the 
other 6.3 binaries that weren't deleted and things like gettext didn't 
want to install.  It seems as though either `make delete-old-libs` 
needs adapted to include deleting binaries, or a separate target for 
old binaries.  I'm currently building up my ports tree, and it seems to 
be working well now, so all the 6.3 binaries I found and deleted didn't 
seem to hurt anything, not that they could run as libc.so.6 is gone.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Source upgrade from 6.3-PRERELEASE to 7-STABLE

2008-04-05 Thread Matthew Seaman

Joshua Isom wrote:
I've looked back at a lot of the emails about upgrading a system from 6 
to 7, but all seem to contain some caveat or other, generally ports.  I 
want a "clean" system, but don't want to deal with backing up, 
reformatting, and installing, not to mention reconfiguring everything.  
Since by now many people have done it, what's the best way to upgrade 
from 6.3 to 7.0 for the entire system, base and ports?


It depends...

Seriously, one very good and fairly bulletproof way of migrating from 6.3
to 7.0 is by a nuke and repave job on your machine.  That may not be
right for you though.

Given that, you have to do an in-place update.  Consider the base system
and the ports separately.

To upgrade the base you have essentially two choices:

 *) Use FreeBSD-update -- follow the procedure shown here:

http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html

 *) cvsup with the appropriate TAG for the branch you want to
switch to (RELENG_7_0 for 7.0-RELEASE, RELENG_7 for 7.0-STABLE)
and then build and update your system according to the instructions
in the Handbook and the notes in /usr/src/UPDATING.

If you've been using either one of these methods to maintain your
system previously, then you're probably best to stick with what you
know for the major upgrade.  FreeBSD Update may have difficulties
with a system that isn't either a virgin install from the distribution
ISOs or that has been maintained solely through FreeBSD Update previously.

Note that once you have the base OS updated, you can leave it running
with the ports from 6.x for a while -- so long as you've still got the
6.x shlibs available everything will carry on working.  That means you
either have to install the misc/compat6.x port or you have to skip the
'make delete-old-libs' step at the end of the buildworld procedure.  (Well,
postpone it until the ports can be rebuilt.)

If you do choose to run a mixed system like this for a while, bear in
mind that you should not now upgrade or install the odd port here and there:
either you go ahead with the next stage which is to upgrade the whole lot,
or you leave well alone.  


The second major phase of work is to upgrade all your ports.  The mechanisms
for doing this are essentially the same as you'ld use for maintaining ports
routinely.  You will need to use a management tool that will order all of
the updates correctly: portmaster and portupgrade are the two leading
examples.

portmaster should work without any further ado as it has no other
dependencies within the ports tree.  portupgrade requires you to 
rebuild ruby and whichever of the ruby-bdb ports it links against

first.  Something like this:

# pkg_info -rx portupgrade 
Information for portupgrade-devel-2.4.3_1:


Depends on:
Dependency: ruby-1.8.6.111_1,1
Dependency: perl-5.8.8_1
Dependency: db44-4.4.20.4
Dependency: ruby18-bdb44-0.6.2
# pkg_delete -f portupgrade-devel-2.4.3_1 ruby18-bdb44-0.6.2 db44-4.4.20.4 
ruby-1.8.6.111_1,1
[...]
# cd /usr/ports/ports-mgmt/portupgrade-devel
# make install
[...]

Then you can proceed with 'portupgrade -fa'

(Substitute ports-mgmt/portupgrade if you don't want the development
version)

Either of the ports management tools can be made to install pre-built
packages given the appropriate command line arguments: this can save you
quite a lot of time at the cost of a certain amount of flexibility in
customising options.

Don't forget the 'make delete-old-libs' step at the end.  You can probably
deinstall compat6x similarly although there are some ports that will now
require it -- diablo-j{dk,re}15 for example.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Source upgrade from 6.3-PRERELEASE to 7-STABLE

2008-04-05 Thread Joshua Isom
I've looked back at a lot of the emails about upgrading a system from 6 
to 7, but all seem to contain some caveat or other, generally ports.  I 
want a "clean" system, but don't want to deal with backing up, 
reformatting, and installing, not to mention reconfiguring everything.  
Since by now many people have done it, what's the best way to upgrade 
from 6.3 to 7.0 for the entire system, base and ports?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Source Upgrade to FreeBSD 7 fails

2008-03-19 Thread Matthias Fechner

Hi Mel,

Mel wrote:
libssl.so.4, needed by 
/usr/local/lib/libldap.so, not found 


hm, the first mail was blocked:
   - The following addresses had permanent fatal errors -
<[EMAIL PROTECTED]>
(reason: 554 5.7.1 <[EMAIL PROTECTED]>: Recipient 
address rejected: Access denied)


hopefully that Mail goes through (send it by mistack directly to you and 
not over the mailinglist).


Thanks a lot for your help, I disabled no the WITH_OPENLDAP in my 
make.conf and everything build fine (first mail with FreeBSD 7).


I rechecked the option now and find out that I added the option 
WITH_OPENLDAP a long time ago with combination of exim, but with postfix 
it isn't necessary anymore so I removed it from the make.conf.


Best regards,
Matthias

--

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Source Upgrade to FreeBSD 7 fails

2008-03-13 Thread Mel
On Thursday 13 March 2008 12:00:52 Matthias Fechner wrote:
> Hi Mel,
>
> Mel schrieb:
> > How ever did you get something in /usr/src looking for /usr/local/lib/*?
>
> hm not really. I deleted now /usr/src and /usr/obj, did a fresh cvsup
> and got the same error message.
>
> > What's in /etc/make.conf please?
>
> hm, that is a bit longer but here:

> WITH_OPENLDAP=yes

libssl.so.4, needed by 
/usr/local/lib/libldap.so, not found 

And it looks as though, /usr/src/kerberos5/Makefile.inc sets OPENLDAPBASE 
to /usr/local if WITH_OPENLDAP is defined.

So, chicken and egg problem for you, either fix your openldap build, that 
currently depends on a non-existing libssl.so.4 (from 6.x I presume) or unset 
WITH_OPENLDAP for the purpose of building world and then upgrade your ports.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Source Upgrade to FreeBSD 7 fails

2008-03-13 Thread Matthias Fechner

Hi Mel,

Mel schrieb:

How ever did you get something in /usr/src looking for /usr/local/lib/*?


hm not really. I deleted now /usr/src and /usr/obj, did a fresh cvsup 
and got the same error message.



What's in /etc/make.conf please?


hm, that is a bit longer but here:
CPUTYPE?=i686
CFLAGS= -O1 -pipe
FETCH_ENV= "FTP_PASSIVE_MODE=\"yes\""
USA_RESIDENT=NO
HAVE_MOTIF=yes
CUPS_OVERWRITE_BASE=yes
WITH_CUPS=yes
NO_LPR=yes
WITH_MUTT_COMPRESSED_FOLDERS=yes
WITH_MUTT_NCURSES=yes
WITH_MUTT_IMAP=yes
WITH_MUTT_POP=yes
WITH_MUTT_SSL=yes
WITH_MUTT_QUOTE_PATCH=yes
WITH_MUTT_PGP_PATCH=yes
WITH_MUTT_MBOX_HOOK_PATCH=yes
WITH_MUTT_IMAP_HEADER_CACHE=yes
WITH_MUTT_SIDEBAR_PATCH=yes
WITH_MUTT_EDIT_THREADS=yes
WITH_MUTT_REVERSE_REPLY_PATCH=yes
ASPELL_DE=yes
ASPELL_EN=yes
WITH_APACHE2=yes
WITH_BERKELEYDB=db42
WITH_PROXY_MODULES=yes
WITH_SSL_MODULES=yes
NET_SNMP_SYS_CONTACT="[EMAIL PROTECTED]"
NET_SNMP_SYS_LOCATION="Keller"
DEFAULT_SNMP_VERSION=3
NET_SNMP_LOGFILE=/var/log/snmpd.log
NET_SNMP_PERSISTENTDIR=/var/net-snmp
WITH_PERL=yes
WITH_SLAPI=yes
WITH_BDB_VER=42
A4=yes
ISPELL_DENEU=yes
WITH_OPENLDAP=yes
WITH_CONTENT_SCAN=yes
WEBALIZER_LANG=german
INSTALL_AS_NCFTP=yes
ENABLE_SUIDPERL=yes
WITH_MOD_DAV_SVN=yes
WITH_CRAM=yes
PAGESIZE="a4"
WITH_SUID_GPG=yes
WEBSVNDIR=../home/http/svn/htdocs
WITH_SCPONLY_SVN=yes
WITH_SCPONLY_SVNSERVE=yes
RUBY_VER=1.8
DRIVER_MANAGER=unixodbc
DEFAULT_CVS_SERVER=":pserver:[EMAIL PROTECTED]:/home/ncvs"
WITHOUT_WEB="YES"
WITH_LINUX_BOOTSTRAP="YES"
FETCH_CMD=/usr/bin/fetch -ARr
WITH_PHP5="YES"
PAPERSIZE=a4
PERL_VER=5.8.8
PERL_VERSION=5.8.8


Bye,
Matthias

--
"Programming today is a race between software engineers striving to 
build bigger and better idiot-proof programs, and the universe trying to 
produce bigger and better idiots. So far, the universe is winning." -- 
Rich Cook

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: source upgrade from 6.3 -> 7.0 fails SOLVED

2008-03-12 Thread David Newman
>>1. cd /usr/src
>>
>>2. cvsup -g -L 2 /usr/local/etc/security-supfile (tag points to
>> RELENG_7_0)
>>
>>3. make buildworld
>>

..

>>10. make installworld
>>
>>and get this error:
>>
>>install: crt1.o: No such file or directory
>>***Error code 71
>>
>>crt1.o does exist in /usr/lib.
>>
>>Thanks in advance for any clues on fixing this upgrade.
>>
>>dn
>>
>>
>
> I had a similar problem with one server I upgraded this way too.  I was
> running the 7.0 kernel with 6.3 world.  I rebuilt world after cleaning
> everything and the next installworld went fine.

Thanks, that was the problem. After running "make clean" before "make
buildworld" the rest of the steps completed successfully.

Many thanks!

dn




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: source upgrade from 6.3 -> 7.0 fails

2008-03-12 Thread Derek Ragona

At 01:41 PM 3/12/2008, David Newman wrote:

Having trouble upgrading 6.3 to 7.0 from source. This is on a single-CPU
amd64 machine.

These steps all work OK:

1. cd /usr/src

2. cvsup -g -L 2 /usr/local/etc/security-supfile (tag points to RELENG_7_0)

3. make buildworld

4. make buildkernel KERNCONF=GENERIC

5. make installkernel KERNCONF=GENERIC

6. reboot to single-user mode

7. mount -u /

8. mount -a

9. mergemaster -p

But then I do:

10. make installworld

and get this error:

install: crt1.o: No such file or directory
***Error code 71

crt1.o does exist in /usr/lib.

Thanks in advance for any clues on fixing this upgrade.

dn




I had a similar problem with one server I upgraded this way too.  I was 
running the 7.0 kernel with 6.3 world.  I rebuilt world after cleaning 
everything and the next installworld went fine.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Source Upgrade to FreeBSD 7 fails

2008-03-12 Thread Mel
On Wednesday 12 March 2008 19:49:26 Matthias Fechner wrote:
> Hi,
>
> I cvsup the RELENG_7_0 tree today and tried to build the system with
> make buildworld but I got the following error message:
> cc -O1 -pipe -march=pentiumpro
> -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/krb5
> -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/asn1
> -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/roke
>n -I. -I/usr/local/include -DOPENLDAP=1 -DHAVE_CONFIG_H
> -I/usr/src/kerberos5/libexec/ipropd-master/../../include
> -L/usr/local/lib -Wl,-rpath,/usr/local/lib -o ipropd-master
> ipropd_master.o -lkadm5srv -lhdb -lkrb5 -lroken
> /usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libvers/libvers.
>a -lasn1 -lcrypto -lcrypt -lcom_err -lldap -llber
> /usr/obj/usr/src/tmp/usr/bin/ld: warning: libssl.so.4, needed by
> /usr/local/lib/libldap.so, not found (try using -rpath or -rpath-link)
> /usr/obj/usr/src/tmp/usr/bin/ld: warning: libcrypto.so.4, needed by
> /usr/local/lib/libldap.so, not found (try using -rpath or -rpath-link)
> /usr/local/lib/libldap.so: undefined reference to
> `SSL_CTX_set_tmp_rsa_callback'
> ...
> *** Error code 1
>
> Stop in /usr/src/kerberos5/libexec/ipropd-master.
> *** Error code 1
>
> How can I solve that?

How ever did you get something in /usr/src looking for /usr/local/lib/*?
What's in /etc/make.conf please?

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


source upgrade from 6.3 -> 7.0 fails

2008-03-12 Thread David Newman
Having trouble upgrading 6.3 to 7.0 from source. This is on a single-CPU
amd64 machine.

These steps all work OK:

1. cd /usr/src

2. cvsup -g -L 2 /usr/local/etc/security-supfile (tag points to RELENG_7_0)

3. make buildworld

4. make buildkernel KERNCONF=GENERIC

5. make installkernel KERNCONF=GENERIC

6. reboot to single-user mode

7. mount -u /

8. mount -a

9. mergemaster -p

But then I do:

10. make installworld

and get this error:

install: crt1.o: No such file or directory
***Error code 71

crt1.o does exist in /usr/lib.

Thanks in advance for any clues on fixing this upgrade.

dn





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Source Upgrade to FreeBSD 7 fails

2008-03-12 Thread Matthias Fechner

Hi,

I cvsup the RELENG_7_0 tree today and tried to build the system with 
make buildworld but I got the following error message:
cc -O1 -pipe -march=pentiumpro 
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/krb5 
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/asn1 
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/roken 
 -I. -I/usr/local/include -DOPENLDAP=1 -DHAVE_CONFIG_H 
-I/usr/src/kerberos5/libexec/ipropd-master/../../include 
-L/usr/local/lib -Wl,-rpath,/usr/local/lib -o ipropd-master 
ipropd_master.o -lkadm5srv -lhdb -lkrb5 -lroken 
/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libvers/libvers.a 
 -lasn1 -lcrypto -lcrypt -lcom_err -lldap -llber
/usr/obj/usr/src/tmp/usr/bin/ld: warning: libssl.so.4, needed by 
/usr/local/lib/libldap.so, not found (try using -rpath or -rpath-link)
/usr/obj/usr/src/tmp/usr/bin/ld: warning: libcrypto.so.4, needed by 
/usr/local/lib/libldap.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libldap.so: undefined reference to 
`SSL_CTX_set_tmp_rsa_callback'

...
*** Error code 1

Stop in /usr/src/kerberos5/libexec/ipropd-master.
*** Error code 1

How can I solve that?

Thanks,
Matthias

--

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6.1 source upgrade: Error code 1

2006-08-18 Thread Mischa Peters

Friday, August 18, 2006, 1:07:03 PM, you wrote:

This is a source upgrade of FreeBSD 6.1 and not a prior version to  
5.3.


What version of FreeBSD are you upgrading from?

If you are upgrading from FreeBSD < 5.3. It is not possible to upgrade
to 6.x until you are running at least FreeBSD 5.3.


Upgrading from FreeBSD 6.1 to 6.1-STABLE.

Mischa

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6.1 source upgrade: Error code 1

2006-08-18 Thread Daniel Gerzo
Hello Mischa,

Friday, August 18, 2006, 1:07:03 PM, you wrote:

> This is a source upgrade of FreeBSD 6.1 and not a prior version to 5.3.

What version of FreeBSD are you upgrading from?

If you are upgrading from FreeBSD < 5.3. It is not possible to upgrade
to 6.x until you are running at least FreeBSD 5.3.

> Any ideas?

> Mischa

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 6.1 source upgrade: Error code 1

2006-08-18 Thread Mischa Peters
After a new cvsup today, make buildworld now exists with the  
following message:


cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp  INSTALL="sh /usr/ 
src/tools/i
nstall.sh"  PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/ 
src/tmp/legac
y/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/ 
usr/bin  W
ORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS="-m /usr/src/tools/build/mk  - 
m /usr/src
/share/mk" /usr/obj/usr/src/make.i386/make -f Makefile.inc1   
DESTDIR=  BOOTSTRAP
PING=  -DNO_HTML -DNO_INFO -DNO_LINT -DNO_MAN -DNO_NLS -DNO_PIC  - 
DNO_PROFILE -D

NO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS legacy
awk: syntax error at source line 1
context is
/^#define[[:space:]]*__FreeBSD_version/ >>>  { <<<
"Makefile.inc1", line 101: warning: "awk '/^#define[[:space:]] 
*__FreeBSD_version

/ { print $3 }'  /usr/include/osreldate.h" returned non-zero status
ERROR: Source upgrades from versions prior to 5.3 not supported.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


This is a source upgrade of FreeBSD 6.1 and not a prior version to 5.3.

Any ideas?

Mischa

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD Source Upgrade

2006-07-18 Thread Mikhail Goriachev
Greg Barniskis wrote:
> Mikhail Goriachev wrote:
>> Cody Holland wrote:
> 
>> Also RELENG_6 won't take you to 6.1. You need RELENG_6_1. Check files in
>> /usr/share/examples/cvsup/ for more details about configurations.
> 
> Nope. RELENG_6_1 is the errata only branch (6.1 RELEASE plus 
> critical bug fixes), it is not STABLE. RELENG_6 is the correct tag, 
> and the OP's confusion is that there isn't a difference between 
> 6.0-STABLE and 6.1-STABLE. There is only STABLE. See
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html


Oops, my apologies.


-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD Source Upgrade

2006-07-18 Thread Greg Barniskis

Mikhail Goriachev wrote:

Cody Holland wrote:



Also RELENG_6 won't take you to 6.1. You need RELENG_6_1. Check files in
/usr/share/examples/cvsup/ for more details about configurations.


Nope. RELENG_6_1 is the errata only branch (6.1 RELEASE plus 
critical bug fixes), it is not STABLE. RELENG_6 is the correct tag, 
and the OP's confusion is that there isn't a difference between 
6.0-STABLE and 6.1-STABLE. There is only STABLE. See


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD Source Upgrade

2006-07-18 Thread Mikhail Goriachev
Cody Holland wrote:
> Currently running FreeBSD 6.0-STABLE #0 on a development server and
> attempted to update source via cvsup to 6.1-STABLE.  Went through the same
> procedures that I have always used in the past and the server stated to
> still be running 6.0-stable.  The following are the procedures that I use.
> I deleted everything out of /usr/obj, then ran make update && make
> buildworld && make buildkernel KERNCONF=KERNELNAME && make installkernel
> KERNCONF=KERNELNAME from /usr/src, rebooted, ran make installworld from
> /usr/src, ran mergemaster, then rebooted.  Make.conf has the appropriate
> supfile and in the supfile I'm using tag=RELENG_6.  The whole process went
> fine.  I thought something was strange when mergemaster didn't update
> anything except motd.  Any ideas?
> 
> Thanks,
> Cody
> 
> Lifes a GardenDig It!!


Hi,

You skipped `mergemaster -p'. Consult /usr/src/Makefile for more
information about the necessary steps.

Also RELENG_6 won't take you to 6.1. You need RELENG_6_1. Check files in
/usr/share/examples/cvsup/ for more details about configurations.

Also, you might want to read this as well:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

Cheers,
Mikhail.


-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD Source Upgrade

2006-07-18 Thread Cody Holland
Currently running FreeBSD 6.0-STABLE #0 on a development server and
attempted to update source via cvsup to 6.1-STABLE.  Went through the same
procedures that I have always used in the past and the server stated to
still be running 6.0-stable.  The following are the procedures that I use.
I deleted everything out of /usr/obj, then ran make update && make
buildworld && make buildkernel KERNCONF=KERNELNAME && make installkernel
KERNCONF=KERNELNAME from /usr/src, rebooted, ran make installworld from
/usr/src, ran mergemaster, then rebooted.  Make.conf has the appropriate
supfile and in the supfile I'm using tag=RELENG_6.  The whole process went
fine.  I thought something was strange when mergemaster didn't update
anything except motd.  Any ideas?

Thanks,
Cody

Lifes a GardenDig It!!


smime.p7s
Description: S/MIME cryptographic signature


Re: Source upgrade in FreeBSD 5.4

2006-01-31 Thread Nikolas Britton
On 1/30/06, Jose Borquez <[EMAIL PROTECTED]> wrote:
> When performing an upgrade after doing a minimal install of FreeBSD 5.4,
> I would like to upgrade the source using the stable-supfile.  In the
> supfile I have the option to do a "src-all" update or to specify from
> the following:
> What are the minimum options that I need to select in order to do an
> upgrade of only userland and kernel sources?
> Also when performing a "make installworld" can you specify any options
> for installworld using any switches?
>
> #src-base
> #src-bin
> #src-contrib
> #src-etc
> #src-games
> #src-gnu
> #src-include
> #src-kerberos5
> #src-kerberosIV
> #src-lib
> #src-libexec
> #src-release
> #src-sbin
> #src-share
> #src-sys
> #src-tools
> #src-usrbin
> #src-usrsbin
> # These are the individual collections that make up FreeBSD's crypto
> # collection. They are no longer export-restricted and are a part of
> # src-all
> #src-crypto
> #src-eBones
> #src-secure
> #src-sys-crypto
>
>

You probably need everything, is disk space an issue? more info would be nice.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Source upgrade in FreeBSD 5.4

2006-01-30 Thread Jose Borquez
When performing an upgrade after doing a minimal install of FreeBSD 5.4, 
I would like to upgrade the source using the stable-supfile.  In the 
supfile I have the option to do a "src-all" update or to specify from 
the following:
What are the minimum options that I need to select in order to do an 
upgrade of only userland and kernel sources?
Also when performing a "make installworld" can you specify any options 
for installworld using any switches?


#src-base
#src-bin
#src-contrib
#src-etc
#src-games
#src-gnu
#src-include
#src-kerberos5
#src-kerberosIV
#src-lib
#src-libexec
#src-release
#src-sbin
#src-share
#src-sys
#src-tools
#src-usrbin
#src-usrsbin
# These are the individual collections that make up FreeBSD's crypto
# collection. They are no longer export-restricted and are a part of
# src-all
#src-crypto
#src-eBones
#src-secure
#src-sys-crypto


Thanks in advance,
Jose
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"