Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > ed8720369213e36d9946aa38dc4c7eba > files > 47

cdrecord-2.0-2mdk.ppc.rpm

Never compile anything in a locale other than "C" unless you are sure
that your C-compiler and the program 'nm' has been patched.
This is not needed with Solaris 2.6 or later and with the Workshop 5.0
compiler or later.

Even if you are a recent Solaris version, use locale "C" in case of problems.

To ensure that locale "C"' is set, do

setenv LC_ALL C

in csh
or

LC_ALL=C
export LC_ALL
in sh

before running make. Or simply call

env LC_ALL=C make

The reason:

1)	On Solaris before 2.5.1 'nm' dumps core in any other locale.
	For that reason lorder will not work.
	*** no patch available **** but fixed on Solaris 2.5.1
	according to Sun

2)	The SunPro C-compiler will not convert floating
	point numbers correctly if e.g. in "de" locale (Germany)
	1.3 will be interpreted as 1.0!!!!
	*** patch available ***

3)	/usr/xpg4/bin/tr does not work correctly if locale is not "C"
	Try:
		echo ABC | env LC_ALL=de /usr/xpg4/bin/tr 'A-Z' 'a-z'

	it prints:

	BCD



If you want to do compilations on Solaris, it is best not have /usr/ucb
in your PATH. If you want to have /usr/ucb in the PATH it must be the last
entry. You also should put /usr/ccs/bin/ before /usr/xpg4/bin/ in the PATH
to make sure that /usr/ccs/bin/make is used and not /usr/xpg4/bin/make.

To be able to use 'make' 'as' and 'ld' you need to make sure that 
/usr/ccs/bin is in your path.

Avoid /usr/ucb and /usr/xpg4/bin in your PATH if you have problems.

Make sure - even if you use GCC - you don't use GNU as, GNU ld 
and GNU tsort/lorder.

For CD-Recording please read the README.volmgt too.

On Solaris you need to stop the volume management if you like to use the USCSI
fallback SCSI transport code. Even things like cdrecord -scanbus
will not work if the volume management is running.

If you run Solaris 7 FCS, install patch 107465-02 to fix a read ahead bug in the
hsfs code.

If you have problems with 12 byte SCSI commands on Solaris (mainly x86) get
Patch 108779-01

If you have problems with ISO-9660 partitions > 4 GB  where Solaris wraps to
offset mod 4 GB when reading from the FS install patch 113277-04.