I got zlib to install on my machine, but I am I still having trouble on compiling ltib. When I try to compiling ltib I get this error:
Exiting on error or interruptPlease see >> /home/alexander/Desktop/MX53_setup/ltib/host_config.log for details
Here is the log output:
rpmdb: --force-debian: unknown
optionDied at ./ltib line 2340.
traceback: main::setup_rpmdb:2340
main::check_rpm_setup:2403
main::host_checks:1423
main:542
Started: Fri Nov 11 14:14:20 2011Ended: Fri Nov 11 14:14:20 2011Elapsed: 0 seconds
Build Failed
And here is line 2340 in my ltib file:
Press <enter to continue>
TXT
local $_ = <STDIN>;
touch($cf->{rpmdb_nfs_warning});
}
}
# initialise the target's rpm database directory if not done before
# otherwise rebuilt it if the target has run and altered it.
This # is needed as I think different endianesses store data differently
# so a rpm database build on an x86 host is not readable on a ppc
# machine until you run rpm --rebuilddb, similarly once that's
been # done you can no longer read it properly on an x86 machine
my $do_rebuild = 1 unless -e "$cf->{rpmroot}/$cf->{tmppath}";
system_nb("mkdir -p $cf->{rpmroot}/$cf->{tmppath}");
if(! -e "$cf->{rpmroot}/$cf->{rpmdb}/Packages") {
system_nb(<<TXT) == 0 or die;
system_nb(<<TXT) == 0 or die; (this is line 2340)
John Reed said:
I've got 2 different ubuntu machines I'm compiling on. On both machines I have these 2 packages installed:
- zlib1g
- zlib1g-dev
Make sure you've got both of those installed via the synaptic package manager, and then I think you'll be OK.
As a forewarning, you're also going to need these 2 packages:
- liblzo2-dev
- uuid-dev
Happy Hacking!!
JR