jcat Posted September 2, 2005 Share Posted September 2, 2005 Ok, I have been able to install darwin ports but I am unable to install tetex (for latex) it crashes when it tries to compile the Xfree86 dependencies So I tried installing fink aswell using the CVS method on the wiki page, I can't get far enough into the installation to attempt an installation of tetex(it crashes during the make bootstrap phase). It crashes with a ' "/lib/cpp" fails sanity check' error. I installed Xcode 2.2 after instead of 2.1 but it has made no difference, it crashes in the same place!! Any ideas on how to solve either issue? Or an alternative way of getting latex working? TIA Link to comment Share on other sites More sharing options...
ZOleg Posted September 2, 2005 Share Posted September 2, 2005 Ok,I have been able to install darwin ports but I am unable to install tetex (for latex) it crashes when it tries to compile the Xfree86 dependencies So I tried installing fink aswell using the CVS method on the wiki page, I can't get far enough into the installation to attempt an installation of tetex(it crashes during the make bootstrap phase). It crashes with a ' "/lib/cpp" fails sanity check' error. I installed Xcode 2.2 after instead of 2.1 but it has made no difference, it crashes in the same place!! Any ideas on how to solve either issue? Or an alternative way of getting latex working? TIA <{POST_SNAPBACK}> open Terminal sudo gcc_select 3.3 and try compile Link to comment Share on other sites More sharing options...
jcat Posted September 2, 2005 Author Share Posted September 2, 2005 open Terminalsudo gcc_select 3.3 and try compile <{POST_SNAPBACK}> Thanks but it now stops imediately with this... "Under Mac OS X 10.4.1, Fink must be bootstrapped or updated with gcc 4.0, however, you currently have gcc 3.3 selected. To correct this problem, run the command: ..." Switching back to 4.0 I get my original error (in more detail below) checking whether g++-3.3 accepts -g... no checking dependency style of g++-3.3... none checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. ### execution of ./configure failed, exit code 1 phase compiling: libiconv-1.9.1-11 failed To further complicate things, if i go into /sw/src/fink.build/libiconv etc and sudo ./configure the package installs fine very strange Link to comment Share on other sites More sharing options...
cyrana Posted September 2, 2005 Share Posted September 2, 2005 I doesn't compile for me either... I have better luck w/darwinports (marginally better). Mine won't compile some bzip2 library. Link to comment Share on other sites More sharing options...
drolevar Posted September 6, 2005 Share Posted September 6, 2005 Managed to overcome the issue. The thing is that gcc-3.3 was used, which was not working. I've modified the perl script (attached) not to use gcc-3.3. This is an ugly hack, but nevertheless. Download fink from cvs and put it to fink/perlmod/Fink. Rename *.pm.gif to *.pm. Link to comment Share on other sites More sharing options...
sampson Posted September 6, 2005 Share Posted September 6, 2005 DON'T USE 3.3 also, DON'T USE FINK. get darwinports.... sudo gcc_select 4.0 ./configure make sudo make install should compile fine. plus it doesn't break your system. Link to comment Share on other sites More sharing options...
cyrana Posted September 6, 2005 Share Posted September 6, 2005 DON'T USE 3.3 also, DON'T USE FINK. get darwinports.... sudo gcc_select 4.0 ./configure make sudo make install should compile fine. plus it doesn't break your system. Yeah, I've been using it with GCC 4.0 since the start... However, not all packages will compile in the repository as an FYI. A good portion do, though. Link to comment Share on other sites More sharing options...
sampson Posted September 6, 2005 Share Posted September 6, 2005 http://www.opendarwin.org/~kevin/ gcc 3.5 fat binaries that actually work unlike 3.3 Link to comment Share on other sites More sharing options...
Fugu Posted September 7, 2005 Share Posted September 7, 2005 http://www.opendarwin.org/~kevin/ gcc 3.5 fat binaries that actually work unlike 3.3 <{POST_SNAPBACK}> Thanks a lot! Installed and seems to work good. Link to comment Share on other sites More sharing options...
Recommended Posts