Check the readme !
You need to source the appropriate env file via the bldenv utility
before using make.
To build a specific component, first use bldenv(1) to set up various
environment variables:
$ cd /export/sfwnv
$ bldenv ./sfw-opensolaris.sh (this .sh file is to be customized
from the <ws>/usr/src/tools/env/<sh file>
[status information from bldenv]
Next, create and partially populate the proto area:
$ cd $SRC
$ make setup
Finally, cd into the directory containing the component you wish to
build, and run make:
$ make -f Makefile.sfw install
-Shiv
On Wed, Sep 10, 2008 at 10:10 PM, Manish Chakravarty
<manishchaks at gmail.com> wrote:
>
> I am trying to build SFW (sfw-src-b98-...-,tar,bz2 ) on my SX b94.
> I have the SUNWonbld package installed.
>
> I am running a "make" from <extracted_dir>/usr/src as root
> (there is the top-level Makefile in that dir )
>
> SFW build bombs with the error:
> usr/bin/rm -f -r /proto/usr/sfw/share/locale; /usr/bin/ln -s
> ../lib/locale /proto/usr/sfw/share/locale; true root
> /proto/usr/sfw/share/locale; true sys /proto/usr/sfw/share/locale
> /usr/bin/rm -f -r /proto/usr/sfw/doc; /usr/bin/ln -s share/doc
> /proto/usr/sfw/doc; true root /proto/usr/sfw/doc; true bin
> /proto/usr/sfw/doc
> /usr/bin/rm -f -r /proto/usr/sfw/info; /usr/bin/ln -s share/info
> /proto/usr/sfw/info; true root /proto/usr/sfw/info; true bin
> /proto/usr/sfw/info
> /usr/bin/rm -f -r /proto/usr/sfw/man; /usr/bin/ln -s share/man
> /proto/usr/sfw/man; true root /proto/usr/sfw/man; true bin
> /proto/usr/sfw/man
> /usr/bin/rm -f -r /proto/usr/sfw/src; /usr/bin/ln -s share/src
> /proto/usr/sfw/src; true root /proto/usr/sfw/src; true bin
> /proto/usr/sfw/src
> /usr/bin/rm -f -r /proto/usr/lib/64; /usr/bin/ln -s
> /proto/usr/lib/64; true root /proto/usr/lib/64; true bin
> /proto/usr/lib/64
> /usr/bin/rm -f -r /proto/usr/mysql/5.0/bin/64; /usr/bin/ln -s
> /proto/usr/mysql/5.0/bin/64; true root /proto/usr/mysql/5.0/bin/64;
> true bin /proto/usr/mysql/5.0/bin/64
> ln: cannot create ./64: File exists
> /usr/bin/rm -f -r /proto/usr/mysql/5.0/lib/64; /usr/bin/ln -s
> /proto/usr/mysql/5.0/lib/64; true root /proto/usr/mysql/5.0/lib/64;
> true bin /proto/usr/mysql/5.0/lib/64
> ln: cannot create ./64: File exists
> /usr/bin/rm -f -r /proto/usr/postgres/8.2/bin/64; /usr/bin/ln -s
> /proto/usr/postgres/8.2/bin/64; true root
> /proto/usr/postgres/8.2/bin/64; true bin
> /proto/usr/postgres/8.2/bin/64
> ln: cannot create ./64: File exists
> /usr/bin/rm -f -r /proto/usr/postgres/8.2/lib/64; /usr/bin/ln -s
> /proto/usr/postgres/8.2/lib/64; true root
> /proto/usr/postgres/8.2/lib/64; true bin
> /proto/usr/postgres/8.2/lib/64
> ln: cannot create ./64: File exists
> /usr/bin/rm -f -r /proto/usr/postgres/8.3/bin/64; /usr/bin/ln -s
> /proto/usr/postgres/8.3/bin/64; true root
> /proto/usr/postgres/8.3/bin/64; true bin
> /proto/usr/postgres/8.3/bin/64
> ln: cannot create ./64: File exists
> /usr/bin/rm -f -r /proto/usr/postgres/8.3/lib/64; /usr/bin/ln -s
> /proto/usr/postgres/8.3/lib/64; true root
> /proto/usr/postgres/8.3/lib/64; true bin
> /proto/usr/postgres/8.3/lib/64
> ln: cannot create ./64: File exists
> /usr/bin/rm -f -r /proto/usr/lib/tcl8.4/snack2.2.10/64; /usr/bin/ln -s
> /proto/usr/lib/tcl8.4/snack2.2.10/64; true root
> /proto/usr/lib/tcl8.4/snack2.2.10/64; true bin
> /proto/usr/lib/tcl8.4/snack2.2.10/64
> ln: cannot create ./64: File exists
> /usr/bin/rm -f -r /proto/usr/lib/tcl8.4/tls1.6/64; /usr/bin/ln -s
> /proto/usr/lib/tcl8.4/tls1.6/64; true root
> /proto/usr/lib/tcl8.4/tls1.6/64; true bin
> /proto/usr/lib/tcl8.4/tls1.6/64
> ln: cannot create ./64: File exists
> cd common; pwd; make install
> /export/home/manish/SFW/usr/src/common
> make: Warning: Can't find `/Makefile.master': No such file or directory
> Current working directory /export/home/manish/SFW/usr/src/common
> make: Fatal error in reader: Makefile, line 28: Read of include file
> `/Makefile.master' failed
> Current working directory /export/home/manish/SFW/usr/src/common
> *** Error code 1
> make: Fatal error: Command failed for target `common_files'
>
>
>
> Can someone help please?
>
> --
> Manish Chakravarty
> http://manish-chaks.livejournal.com/
> _______________________________________________
> ug-bosug mailing list
> List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
> List-Owner: mailto:ug-bosug-owner at opensolaris.org
> List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54