DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 6th January 2009
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Default Make world failure

Hi everyone
I have cvsuped successfully using
Code:
cvsup -g -L 2 /usr/share/examples/cvsup/miuky1-supfile
Where miuky1-supfile is
Code:
[disappearedng@miuky1 /usr/home/disappearedng]$ cat /usr/share/examples/cvsup/miuky1-supfile 
*default host=cvsup2.ca.freebsd.org 
*default base=/var/db
*default prefix=/usr
*default release=cvs delete use-rel-suffix compress
*default tag=RELENG_7_1
src-all
This is my environment
Code:
FreeBSD miuky1.localhost 7.0-RELEASE FreeBSD 7.0-RELEASE #5: Sun Jun 29 18:22:24 UTC 2008     root@.lan:/usr/obj/usr/src/sys/miuky1  i386
When I try to build world,
( I have cleaned up /usr/obj by chflags -R noschg *
and rm -rf * )

Code:
truncated
echo "\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-pragma.c\", "						>> gtyp-gen.h

echo "\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-objc-common.c\", "						>> gtyp-gen.h

echo "\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-parser.c\", "						>> gtyp-gen.h

echo "NULL};"						>> gtyp-gen.h

echo "static const char * const lang_dir_names[] = {"	>> gtyp-gen.h

echo "\"c\", "						>> gtyp-gen.h

echo "\"cp\", "						>> gtyp-gen.h

echo "\"objc\", "						>> gtyp-gen.h

echo "NULL};"						>> gtyp-gen.h

cc -O2 -fno-strict-aliasing -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber -g -DGENERATOR_FILE -DHAVE_CONFIG_H  -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c

yacc -d -o gengtype-yacc.c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype-yacc.y

cat    gengtype-yacc.c > gengtype-yacc+%DIKED.c

sed -e "s/xmalloc/malloc/g"  -e "s/xrealloc/realloc/g"  -e "s/malloc/xmalloc/g"  -e "s/realloc/xrealloc/g"  gengtype-yacc.c > gengtype-yacc+%DIKED.c

cc -O2 -fno-strict-aliasing -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber -g -DGENERATOR_FILE -DHAVE_CONFIG_H  -I/usr/obj/usr/src/tmp/legacy/usr/include -c gengtype-yacc+%DIKED.c

flex -ogengtype-lex.c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype-lex.l

flex:No such file or directory

*** Error code 1



Stop in /usr/src/gnu/usr.bin/cc/cc_tools.

*** Error code 1



Stop in /usr/src.

*** Error code 1



Stop in /usr/src.

*** Error code 1



Stop in /usr/src.
What is giving me the problem?
Reply With Quote
  #2   (View Single Post)  
Old 16th January 2009
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Default

Quote:
Originally Posted by disappearedng View Post
I have cvsuped successfully using
Code:
cvsup -g -L 2 /usr/share/examples/cvsup/miuky1-supfile
It doesn't really make a difference, but you can just use "csup" now instead of installing "cvsup". csup is part of the FreeBSD base.

Quote:
Originally Posted by disappearedng View Post
( I have cleaned up /usr/obj by chflags -R noschg * and rm -rf * )
You can just do # cd /usr/src && make cleanworld

From the error, it looks like you're missing "flex". Maybe check your PATH? It should be in /usr/bin/flex. It is part of the base system. If it's not there, you could try installing flex from the port (textproc/flex).

I would suggest trying a different cvsup server and updating again. If that fails I would try removing the entire source tree (remember to save your kernel configs, etc.), then checkout a fresh source tree.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with installing world sniper007 FreeBSD Installation and Upgrading 1 17th April 2009 10:33 AM
Error building world 6.3 -> 6.4 chavez243 FreeBSD Installation and Upgrading 1 7th January 2009 02:31 PM
c++ compiling hello world Gates Programming 3 26th July 2008 12:48 PM
Newbie - adventure in gateway world Johnny2Bad FreeBSD General 1 17th May 2008 10:22 AM


All times are GMT. The time now is 07:09 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick