Hi All,
I'm having what looks to be a silly error annoy the heck out of me and
I thought I'd see if someone had the solution off-hand.
When I build gem5 I get this error:
...
Checking for zlibVersion() in C++ library z... (cached) no
Error: did not find needed zlib compression library and/or zlib.h header file.
Please install zlib and try again.
...
The issue seems to be w/SCons not finding the zlib library which I
locally installed in "$HOME/installs".
I hoped to point to the libraries in this directory by setting the
LD_LIBRARY_PATH:
setenv LD_LIBRARY_PATH $HOME/installs/lib:$LD_LIBRARY_PATH
I can verify that I have zlib.h in my installs/include directory and
libz in my installs/libz directory, so I think the issue of the files
being there is not the issue, its more of I"m
unaware of how to make SCons recognize this.
Note, this machine is a Ubuntu lucid distribution and
zlib-1.2.3.3.dfsg (to get the developer files)
Does anyone have any ideas on a fix?
--
Try appending the path to the environmrnt variable LIBRARY_PATH.
On Wed, 22 Aug 2012, Korey Sewell wrote:
Hi All,
I'm having what looks to be a silly error annoy the heck out of me and
I thought I'd see if someone had the solution off-hand.
When I build gem5 I get this error:
...
Checking for zlibVersion() in C++ library z... (cached) no
Error: did not find needed zlib compression library and/or zlib.h header file.
Please install zlib and try again.
...
The issue seems to be w/SCons not finding the zlib library which I
locally installed in "$HOME/installs".
I hoped to point to the libraries in this directory by setting the
LD_LIBRARY_PATH:
setenv LD_LIBRARY_PATH $HOME/installs/lib:$LD_LIBRARY_PATH
I can verify that I have zlib.h in my installs/include directory and
libz in my installs/libz directory, so I think the issue of the files
being there is not the issue, its more of I"m
unaware of how to make SCons recognize this.
Note, this machine is a Ubuntu lucid distribution and
zlib-1.2.3.3.dfsg (to get the developer files)
Does anyone have any ideas on a fix?
--
gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Thanks for the quick response Nilay.
Unfortunately, I've tried that unsuccesfully.
On both my LD_LIBRARY_PATH and my LIBRARY_PATH variables I've got the
links to the zlib, python, and gcc libraries.
But so far, no success with the local install!
-Korey
On Wed, Aug 22, 2012 at 1:28 PM, Nilay Vaish <nilay(a)cs.wisc.edu> wrote:
Try appending the path to the environmrnt variable LIBRARY_PATH.
On Wed, 22 Aug 2012, Korey Sewell wrote:
Hi All,
I'm having what looks to be a silly error annoy the heck out of me and
I thought I'd see if someone had the solution off-hand.
When I build gem5 I get this error:
...
Checking for zlibVersion() in C++ library z... (cached) no
Error: did not find needed zlib compression library and/or zlib.h header
file.
Please install zlib and try again.
...
The issue seems to be w/SCons not finding the zlib library which I
locally installed in "$HOME/installs".
I hoped to point to the libraries in this directory by setting the
LD_LIBRARY_PATH:
setenv LD_LIBRARY_PATH $HOME/installs/lib:$LD_LIBRARY_PATH
I can verify that I have zlib.h in my installs/include directory and
libz in my installs/libz directory, so I think the issue of the files
being there is not the issue, its more of I"m
unaware of how to make SCons recognize this.
Note, this machine is a Ubuntu lucid distribution and
zlib-1.2.3.3.dfsg (to get the developer files)
Does anyone have any ideas on a fix?
--
gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
--
Is it not the header that is causing the issue? This could require the
addition of a "-I$HOME/install" somewhere on the compiler command line. I
don't know a good way of doing this besides manually hacking the
Sconscript.
Would placing it in $HOME/include work perhaps as an implicit search path
for includes?
Andreas
On 22/08/2012 22:05, "Korey Sewell" <ksewell(a)umich.edu> wrote:
Thanks for the quick response Nilay.
Unfortunately, I've tried that unsuccesfully.
On both my LD_LIBRARY_PATH and my LIBRARY_PATH variables I've got the
links to the zlib, python, and gcc libraries.
But so far, no success with the local install!
-Korey
On Wed, Aug 22, 2012 at 1:28 PM, Nilay Vaish <nilay(a)cs.wisc.edu> wrote:
Try appending the path to the environmrnt variable LIBRARY_PATH.
On Wed, 22 Aug 2012, Korey Sewell wrote:
Hi All,
I'm having what looks to be a silly error annoy the heck out of me and
I thought I'd see if someone had the solution off-hand.
When I build gem5 I get this error:
...
Checking for zlibVersion() in C++ library z... (cached) no
Error: did not find needed zlib compression library and/or zlib.h
header
file.
Please install zlib and try again.
...
The issue seems to be w/SCons not finding the zlib library which I
locally installed in "$HOME/installs".
I hoped to point to the libraries in this directory by setting the
LD_LIBRARY_PATH:
setenv LD_LIBRARY_PATH $HOME/installs/lib:$LD_LIBRARY_PATH
I can verify that I have zlib.h in my installs/include directory and
libz in my installs/libz directory, so I think the issue of the files
being there is not the issue, its more of I"m
unaware of how to make SCons recognize this.
Note, this machine is a Ubuntu lucid distribution and
zlib-1.2.3.3.dfsg (to get the developer files)
Does anyone have any ideas on a fix?
--
gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
--
gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Hi Andreas,
I agree it's a problem with the header. A naiive part of me was hoping
that "scons magic" would figure this out if I set the right
LD_LIBRARY_PATH/LIBRARY_PATH and just automatically look in the
"../include" directory for the correct files.
But once I got past that "hope", I placed a check in SConstruct to see
if I could find the zlib library at all with:
if not conf.CheckLib("zlib") :
print "Error..."
That test failed, so I'm assuming that SCons is even having troubled
finding zlib. As an interim solution, I'd be OK with trying to hijack
the INCLUDE path as well but the only reference to INCLUDE in the
SConstruct is around line ~600 where swig is adding some
"_CPPINCFLAGS". Have you or anyone went this manual route of hacking
the SConstruct? If so, what would be the relevant variables that I
need to change?
Thanks for the ideas and suggestions so far.
I'll hopefully take another pass soon and something will pan out,
Korey
On Wed, Aug 22, 2012 at 3:10 PM, Andreas Hansson
<Andreas.Hansson(a)arm.com> wrote:
Is it not the header that is causing the issue? This could require the
addition of a "-I$HOME/install" somewhere on the compiler command line. I
don't know a good way of doing this besides manually hacking the
Sconscript.
Would placing it in $HOME/include work perhaps as an implicit search path
for includes?
Andreas
On 22/08/2012 22:05, "Korey Sewell" <ksewell(a)umich.edu> wrote:
Thanks for the quick response Nilay.
Unfortunately, I've tried that unsuccesfully.
On both my LD_LIBRARY_PATH and my LIBRARY_PATH variables I've got the
links to the zlib, python, and gcc libraries.
But so far, no success with the local install!
-Korey
On Wed, Aug 22, 2012 at 1:28 PM, Nilay Vaish <nilay(a)cs.wisc.edu> wrote:
Try appending the path to the environmrnt variable LIBRARY_PATH.
On Wed, 22 Aug 2012, Korey Sewell wrote:
Hi All,
I'm having what looks to be a silly error annoy the heck out of me and
I thought I'd see if someone had the solution off-hand.
When I build gem5 I get this error:
...
Checking for zlibVersion() in C++ library z... (cached) no
Error: did not find needed zlib compression library and/or zlib.h
header
file.
Please install zlib and try again.
...
The issue seems to be w/SCons not finding the zlib library which I
locally installed in "$HOME/installs".
I hoped to point to the libraries in this directory by setting the
LD_LIBRARY_PATH:
setenv LD_LIBRARY_PATH $HOME/installs/lib:$LD_LIBRARY_PATH
I can verify that I have zlib.h in my installs/include directory and
libz in my installs/libz directory, so I think the issue of the files
being there is not the issue, its more of I"m
unaware of how to make SCons recognize this.
Note, this machine is a Ubuntu lucid distribution and
zlib-1.2.3.3.dfsg (to get the developer files)
Does anyone have any ideas on a fix?
--
gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
--
gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
--