[R-SIG-Mac] R 2.1.1 available in DarwinPorts
Simon Urbanek
simon.urbanek at r-project.org
Wed Sep 7 21:25:53 CEST 2005
On Sep 7, 2005, at 1:24 PM, elijah wright wrote:
>
>
>> At some point port just started noticing when cc_dynamic is
>> required and
>> linking against it. Until yesterday I thought this was a
>> "feature" but
>> maybe it's just a (lucky) misconfiguration somewhere in my system.
>> (For a brief period I was using gcc 4.0 to to compile and
>> cc_dynamic was
>> not necessary - when I reverted to 3.3 I didn't put cc-dynamic in the
>> Portfile because it was already being found.)
>>
>> Anyway, let me know if updating solves the problem.
>>
>
>
> i'm up to date now. and i just updated libiconv from 1.09 to 1.10 --
> which is a little tricky, since you have to deactivate one in order
> for
> the other to build successfully. [libiconv port bug?]
>
> here's what happens when i try to do a `port install R` now:
-lcc_dynamic is still missing ... it won't work without it, at least
not in your setup.
Kjell, how are you building the darwinports? I suspect that the
problem is in your compilers as I was pointing out to you earlier -
by using different compilers you make it impossible for others to use
your build unless you put all your compiler in as dependencies,
because each compiler build uses different flags. For example the
cc_dynamic is merely Apple's soft-link to libgcc.a so if you don't
use Apple's gcc, you don't have cc_dynamic. But if you have Apple's
gcc3 (which most people do as it's part of Darwin), you need it.
Cheers,
Simon
>
> gcc-3.3 -I../../src/extra/zlib -I../../src/extra/bzip2
> -I../../src/extra/pcre -no-cpp-precomp -I. -I../../src/include
> -I../../src/include -I/opt/local/include -DHAVE_CONFIG_H -fno-
> common -g
> -O2 -c vfonts.c -o vfonts.lo
> g77-dp-3.4 -fno-common -g -O2 -c xxxpr.f -o xxxpr.lo
> gcc-3.3 -dynamiclib -L/opt/local/lib -dynamiclib -install_name
> libR.dylib
> -compatibility_version 2.1.0 -current_version 2.1.1
> -headerpad_max_install_names -o libR.dylib Rembedded.lo
> CConverters.lo
> CommandLineArgs.lo Rdynload.lo Renviron.lo RNG.lo apply.lo
> arithmetic.lo
> apse.lo array.lo attrib.lo base.lo bind.lo builtin.lo character.lo
> coerce.lo colors.lo complex.lo connections.lo context.lo cov.lo cum.lo
> dcf.lo datetime.lo debug.lo deparse.lo deriv.lo dotcode.lo dounzip.lo
> dstruct.lo duplicate.lo engine.lo envir.lo errors.lo eval.lo format.lo
> fourier.lo gevents.lo gram.lo gram-ex.lo graphics.lo identical.lo
> internet.lo iosupport.lo lapack.lo list.lo logic.lo main.lo mapply.lo
> match.lo memory.lo model.lo names.lo objects.lo optim.lo optimize.lo
> options.lo par.lo paste.lo pcre.lo platform.lo plot.lo plot3d.lo
> plotmath.lo print.lo printarray.lo printvector.lo printutils.lo
> qsort.lo
> random.lo regex.lo registration.lo relop.lo saveload.lo scan.lo seq.lo
> serialize.lo size.lo sort.lo source.lo split.lo sprintf.lo startup.lo
> subassign.lo subscript.lo subset.lo summary.lo sysutils.lo unique.lo
> util.lo version.lo vfonts.lo xxxpr.lo `ls ../appl/*.lo ../nmath/*.lo
> ../unix/*.lo 2>/dev/null` -framework vecLib
> -L/opt/local/lib/gcc-3.4/gcc/powerpc-apple-darwin8.2.0/3.4.4
> -L/opt/local/lib/gcc-3.4 -lg2c -lgcc_s -lSystemStubs -lSystem
> ../extra/zlib/libz.a ../extra/bzip2/libbz2.a ../extra/pcre/libpcre.a
> -lintl -liconv -lc -lreadline -lm -liconv
> ld: warning prebinding disabled because dependent library:
> /opt/local/lib/gcc-3.4/libg2c.0.dylib is not prebound
> ld: warning multiple definitions of symbol _xerbla_
> print.lo definition of _xerbla_ in section (__TEXT,__text)
> /System/Library/Frameworks/Accelerate.framework/Versions/A/
> Frameworks/vecLib.framework/Versions/A/libBLAS.dylib(single
> module) definition of _xerbla_
> ld: warning multiple definitions of symbol _locale_charset
> /opt/local/lib/libiconv.dylib(localcharset.o) definition of
> _locale_charset
> /opt/local/lib/libintl.dylib(localcharset.o) definition of
> _locale_charset
> ld: warning multiple definitions of symbol _signgam
> ../nmath/lgamma.lo definition of _signgam in section (__DATA,__common)
> /usr/lib/libSystem.dylib(gamma9.o) definition of _signgam
> ld: Undefined symbols:
> restFP
> saveFP
> /usr/bin/libtool: internal link edit command failed
> make[3]: *** [libR.dylib] Error 1
> make[2]: *** [R] Error 2
> make[1]: *** [R] Error 1
> make: *** [R] Error 1
>
>
>
> i gotta run to class now, but will try to follow up afterwards.
>
> --elijah
>
>
>
>>>> Subject: Re: [R-SIG-Mac] R 2.1.1 available in DarwinPorts
>>>> I just tried building from darwin ports today, and got the error
>>>> below
>>>> while bulding R. To confirm, this is for darwin ports on Tiger,
>>>> right?
>>>> Any help appreciated, looks like there is some kind of symbol
>>>> conflict.
>>>>
>>>>
>>>
>>> i got the same error when i tried a build a couple of days ago --
>>> i hadn't
>>> had time to get back to it yet. [and i have a radmind overload of
>>> darwinports that contains a working R (from previous build
>>> attempt), so i
>>> wasn't in a hurry to break it either...]
>>>
>>> Kjell, are there things we can do to help you? Other than to
>>> continue
>>> testing? :)
>>>
>>> --elijah
>>>
>>>
>>>
>>>
>>>> gcc-3.3 -dynamiclib -L/opt/local/lib -dynamiclib -install_name
>>>> libR.dylib -compatibility_version 2.1.0 -current_version 2.1.1 -
>>>> headerpad_max_install_names -o libR.dylib Rembedded.lo
>>>> CConverters.lo CommandLineArgs.lo Rdynload.lo Renviron.lo RNG.lo
>>>> apply.lo arithmetic.lo apse.lo array.lo attrib.lo base.lo bind.lo
>>>> builtin.lo character.lo coerce.lo colors.lo complex.lo
>>>> connections.lo
>>>> context.lo cov.lo cum.lo dcf.lo datetime.lo debug.lo deparse.lo
>>>> deriv.lo dotcode.lo dounzip.lo dstruct.lo duplicate.lo engine.lo
>>>> envir.lo errors.lo eval.lo format.lo fourier.lo gevents.lo gram.lo
>>>> gram-ex.lo graphics.lo identical.lo internet.lo iosupport.lo
>>>> lapack.lo list.lo logic.lo main.lo mapply.lo match.lo memory.lo
>>>> model.lo names.lo objects.lo optim.lo optimize.lo options.lo par.lo
>>>> paste.lo pcre.lo platform.lo plot.lo plot3d.lo plotmath.lo print.lo
>>>> printarray.lo printvector.lo printutils.lo qsort.lo random.lo
>>>> regex.lo registration.lo relop.lo saveload.lo scan.lo seq.lo
>>>> serialize.lo size.lo sort.lo source.lo split.lo sprintf.lo
>>>> startup.lo
>>>> subassign.lo subscript.lo subset.lo summary.lo sysutils.lo
>>>> unique.lo
>>>> util.lo version.lo vfonts.lo xxxpr.lo `ls ../appl/*.lo ../nmath/
>>>> *.lo ../unix/*.lo 2>/dev/null` -framework vecLib -L/opt/local/lib/
>>>> gcc-3.4/gcc/powerpc-apple-darwin8.2.0/3.4.4 -L/opt/local/lib/
>>>> gcc-3.4 -
>>>> lg2c -lgcc_s -lSystemStubs -lSystem ../extra/zlib/libz.a ../extra/
>>>> bzip2/libbz2.a ../extra/pcre/libpcre.a -lintl -liconv -lc -
>>>> lreadline -lm -liconv
>>>>
>>
>>
>> Here is cc_dynamic, right between readline and math:
>>
>> gcc-3.3 -dynamiclib -L/opt/local/lib -dynamiclib -install_name
>> libR.dylib
>> -compatibility_version 2.1.0 -current_version 2.1.1
>> -headerpad_max_install_names -o libR.dylib Rembedded.lo
>> CConverters.lo
>> CommandLineArgs.lo Rdynload.lo Renviron.lo RNG.lo apply.lo
>> arithmetic.lo
>> apse.lo array.lo attrib.lo base.lo bind.lo builtin.lo character.lo
>> coerce.lo
>> colors.lo complex.lo connections.lo context.lo cov.lo cum.lo dcf.lo
>> datetime.lo debug.lo deparse.lo deriv.lo dotcode.lo dounzip.lo
>> dstruct.lo
>> duplicate.lo engine.lo envir.lo errors.lo eval.lo format.lo
>> fourier.lo
>> gevents.lo gram.lo gram-ex.lo graphics.lo identical.lo internet.lo
>> iosupport.lo lapack.lo list.lo logic.lo main.lo mapply.lo match.lo
>> memory.lo
>> model.lo names.lo objects.lo optim.lo optimize.lo options.lo
>> par.lo paste.lo
>> pcre.lo platform.lo plot.lo plot3d.lo plotmath.lo print.lo
>> printarray.lo
>> printvector.lo printutils.lo qsort.lo random.lo regex.lo
>> registration.lo
>> relop.lo saveload.lo scan.lo seq.lo serialize.lo size.lo sort.lo
>> source.lo
>> split.lo sprintf.lo startup.lo subassign.lo subscript.lo subset.lo
>> summary.lo
>> sysutils.lo unique.lo util.lo version.lo vfonts.lo xxxpr.lo `ls ../
>> appl/*.lo
>> ../nmath/*.lo ../unix/*.lo 2>/dev/null` -framework vecLib
>> -L/Volumes/muffin/DarwinPorts/lib/gcc-3.4/gcc/powerpc-apple-
>> darwin8.2.0/3.4.4
>> -L/Volumes/muffin/DarwinPorts/lib/gcc-3.4/gcc
>> -L/Volumes/muffin/DarwinPorts/lib/gcc-3.4 -lg2c -lgcc_s -lSystemStubs
>> -lSystem ../extra/zlib/libz.a ../extra/bzip2/libbz2.a
>> ../extra/pcre/libpcre.a -lintl -liconv -lc -lreadline -
>> lcc_dynamic -lm
>> -liconv
>>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>
>
More information about the R-SIG-Mac
mailing list