About root installition

there are four libXf prerequisite packages.
when I install the libXft, there are error list:
checking X11/extensions/Xrender.h usability… no
checking X11/extensions/Xrender.h presence… no
checking for X11/extensions/Xrender.h… no
configure: error: Xrender.h not found.

I give the path of Xrender.h, but still error.
I don’t know why. here is the linux information:
Darwin Kernel Version 10.7.3: Sun Mar 6 13:37:56 PST 2011; root:xnu-1504.14.2~1/RELEASE_X86_64 x86_64
Can anybody tell me why?
Thanks,

Hi,

make sure the libXrender-devel package is installed.

Cheers, Fons.

[quote=“rdm”]Hi,

make sure the libXrender-devel package is installed.

Cheers, Fons.[/quote]

Yes, the version was old.

Then I have another question when gmake the root. here is the information:
/usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32 against `a local symbol’ can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libpython2.7.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
gmake: *** [lib/libPyROOT.so] Error 1

I install python in another path under my home directory due to have not root permission.
Any suggestions?

Thanks,
sango

Hi,

like the comment says, please re-install python using the -shared option when configuring it so that you get the shared library version (which is also compiled with the -fPIC option).

Cheers, Fons.

[quote=“rdm”]Hi,

like the comment says, please re-install python using the -shared option when configuring it so that you get the shared library version (which is also compiled with the -fPIC option).

Cheers, Fons.[/quote]

Got it, Thanks!