Recommended version of Linux for current SVN release
Exactly that, what are the devs that are writing the code using for Linux, which distro and revision ?
I tried OpenSuse 11.2 today with the latest SVN and it totally crapped out on the compile with this. Code:
../common/perl_EQDBRes.o: In function `XS_EQDBRes_fetch_row_array': |
That's because you're running a newer version of perl than what the server uses (5.8 I think). At least Ubuntu server 9.04 has the same issue, I followed some guide I found online to downgrade to the earlier version of perl and it works fine.
edit: Found the guide: http://use.perl.org/~Ovid/journal/39375 |
I can build on Fedora 11 using perl 5.10 so that shouldn't be a perl issue. One problem I have had is if the source code is copied from one system to another, the .depend files are based on dependencies from the previous system and that can cause compile problems.
So, to be sure, do a make clean, then remove .depend files in the source code tree and then try to compile again. If you still have problems, post the errors and we'll see if we can figure it out. |
I compile on Ubuntu 9.10 with Perl 5.10 and gcc version 4.3.4. It compiles successfully for me all the time. However, I have to make 1 change to the makefiles to enable successful compiles:
1) Change -march=i686 to -march=athlon64 (if you're using gcc 4.3 you should be able to use -march=native) I have to make this change because my system uses an Athlon64 x2 CPU where the default makefile appears to be for Intel CPUs. As I noted in parenthesis, you can use -march=native if your gcc version is 4.3 (or newer). Instead of editing all of the makefiles one by one by hand, you can use the following terminal command to hit all of them: 1) Make sure you are in the root of the build tree 2) Run: grep -Ril i686 * | xargs perl -pi -e 's/i686/native/g' Using -march=native enables more CPU based optimizations than selecting the actual CPU from the gcc mtune/march optimization flag. All of the mtune/march optimizations that are available can be found here: http://gcc.gnu.org/onlinedocs/gcc/i3...4-Options.html And like gaeorn mentioned, you should do a 'make clean' before you attempt to compile... if 'make clean' fails then you will most likely need to change the -march= option before you can do a successful 'make clean' and/or 'make'. |
I just set a server up on CentOS 5.4, with perl 5.88 and GCC 4.1.2 with no problems on Thanksgiving.
Like gaeorn said, make sure you do a "make clean" and try it again. |
|
All times are GMT -4. The time now is 02:43 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.