[ic] perl and ubuntu 8.04 AMD64
m.mescoli at omnib.it
Fri May 9 13:32:11 UTC 2008
ubuntu 7.10 threaded system perl 5.8.8
1) download source perl 5.8.8 and compile unthreaded: compile problem.
2) install and run interchange 5.4.2 on system threaded perl 5.8.8.
This is not the best solution ... big warning ... drop performance ...
less reliable. NO
As suggest Jon
3) download perl 5.10.0 and compile unthreaded: (make test 99,7% ok)
4) download interchange 5.5.2 but problem on make test:
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
link/unixmode.........not ok 3
# When the above test fails, it may be due to your ISP or some other
# mechanism blocking port 8786.
server/inetmode.......The previous Interchange server was not running
terminated with an error.
link/inetmode.........not ok 5
server/control........The previous Interchange server was not running
terminated with an error.
not ok 6
not ok 6
6 tests run -- 4/6 failed.
make: *** [test_dynamic] Error 1
Now ? Interchange 5.5.2 on threaded system perl 5.8.8 maybe most
reliable solution ?
Jon Jensen wrote:
> On Thu, 8 May 2008, Rick Bragg wrote:
>>I need to move some catalogs onto an Ubuntu 8.04 server AMD64. There
>>are multiple versions of IC that I need to run, so I won't be using
>>apt-get install interchange... One will be 5.4.0 and I will have a
>>couple of 5.4.2's going as well, so they will be installed from source.
>>I saw some postings about perl 5.8.8. is OK to run with threads. Is this
>>true? I am using the ubuntu 8.02 server AMD64 standard "threaded"
>>when I installed Bundle::Interchange, I had to use "force" in order for
>>it to work. and for some reason, my catalogs are not working with mysql.
>>I get an error that says:
>>"must have either MySQL or Postgres"
>>So for some reason, it is not seeing the variable.txt entry:
>>"MYSQL 1 Database"
>>Or something else is going on...
>>These may be unrelated issues, but does anybody have experience
>>installing source versions of IC on ubuntu (not using apt-get)? and how
>>should I deal with perl on this distro?
> Are you moving these catalogs from 32-bit to 64-bit? If so, you may be
> having problems with your variable.txt and other non-SQL databases if the
> GDBM files are 32-bit and can't be read. Before migrating from 32-bit to
> 64-bit (or across platforms such as from FreeBSD to Linux or vice versa)
> you should export each table from GDBM to .txt/.asc, then on the new
> server, delete all the .gdbm or .db files (or just don't copy them over).
> It's safe to not export the data if the .txt/.asc file's timestamp is the
> same as or newer than the .gdbm/.db file.
> As far as running on Ubuntu 8.04 x86_64, I am doing that but with a custom
> unthreaded Perl 5.10.0 in /usr/local, and it works well. Doing that, or
> building an unthreaded Perl 5.8.8, would probably be your fastest route.
> It does require a custom build command, so after downloading and unpacking
> the Perl tarball, do:
> ./Configure -des -Dlibpth="/usr/local/lib64 /lib64 /usr/lib64"
> make test
> sudo make install
> If you want to run with the system threaded Perl 5.8.8, you may be better
> off upgrading Interchange to the latest 5.5.2 development release (though
> read the UPGRADE document and make sure you make any needed compatibility
> changes). Upgrading has many stability and feature benefits in any case.
More information about the interchange-users