[Tioga-users] Fwd: Installing Tioga - compile error

Charles F. Munat chas at munat.com
Fri Feb 29 13:30:28 EST 2008


I don't know about texlive (the newer version of teTex), but tetex is 
available in yum:

yum search tetex

I have tioga running just fine on Fedora Core 8 (and 7) with tetex.

Chas.

Vincent Fourmond wrote:
>   Hello,
> 
> On Fri, Feb 29, 2008 at 4:13 PM, Bill Paxton <paxton at kitp.ucsb.edu> wrote:
>> even more importantly, Vincent Fourmond will now see the message and provide
>> us with an answer!  ; - )
> 
>   I won't comment on that one ;-)...
> 
>> When I try to compile using ./HOME_INSTALL
>>
>> I get the following error
>>
>> make
>> Makefile:136: warning: overriding commands for target
>> `/support/cr698565/lib/ruby/Tioga'
>> Makefile:132: warning: ignoring old commands for target
>> `/support/cr698565/lib/ruby/Tioga'
>> Makefile:140: warning: overriding commands for target
>> `/support/cr698565/lib/ruby/Dobjects'
>> Makefile:134: warning: ignoring old commands for target
>> `/support/cr698565/lib/ruby/Dobjects'
> 
>  [ these warnings are normal for ./HOME_INSTALL, just some old make
> limitation (or my limitation, I'm unsure now) ]
> 
>> gcc -shared   -o  Dvector.so Dvector/dvector.o  -Wl,-R
>> -Wl,/support/cr698565/lib -L/support/cr698565/lib     -ldl -lcrypt -lm  -lz
>> /usr/bin/ld: Dvector/dvector.o: relocation R_X86_64_32 against `a local
>> symbol' can not be used when making a shared object; recompile with -fPIC
>> Dvector/dvector.o: could not read symbols: Bad value
>> collect2: ld returned 1 exit status
>> make: *** [Dvector.so] Error 1
> 
> 
>   Unless I am very much mistaken here, you have a broken rbconfig.rb
> file (the file where Ruby stores its various compilation options).
> Please find it (it should be something like
> /usr/(local?)/lib/ruby/1.8/x86_64-linux/rbconfig.rb), and edit the
> line containing
> 
> CONFIG["CFLAGS"] = "something"
> 
>   to add -fPIC (see http://tioga.rubyforge.org/FAQ.html, under
> Compile-time relocations errors, it probably is the same problem). For
> the record, the -fPIC compiler option forces the compiler to produce
> code suitable for dynamic linking (necessary for ruby extensions).
> 
>> I know you are busy but I would really appreciate your help. Or point me in
>> the right direction
>> Also,,,, I do not have pdflatex installed, is their a way to install that
>> without install the whole TeX LIve CD?
> 
>   I'm unfamiliar with the way TeX Live presents itself on the
> installation CD, but you definitely don't need the full TeX Live
> distribution to run Tioga. For information, the Debian package needed
> is texlive-latex-base, maybe that will help you finding what you need
> there.
> 
>   Please tell us if that can get you any further !
> 
>   Cheers,
> 
>       Vincent
> _______________________________________________
> Tioga-users mailing list
> Tioga-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/tioga-users


More information about the Tioga-users mailing list