[ic] perl and ubuntu 8.04 AMD64
Jon Jensen
jon at endpoint.com
Fri May 9 00:19:20 UTC 2008
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"
> perl.
>
> 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?
Rick,
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
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.
HTH,
Jon
--
Jon Jensen
End Point Corporation
http://www.endpoint.com/
More information about the interchange-users
mailing list