error building OSELAS.Toolchain-2011.11.1

Luc
Hi

During install of the OSELAS.Toolchain-2011.11.1 zlib-1.2.5 cannot be
found. seems there is a 1.2.6 version. How to resolve this problem?

Thanks

Luc

--------------------------
target: zlib-1.2.5.tar.bz2
--------------------------

--2012-02-01 19:37:37--  http://zlib.net/zlib-1.2.5.tar.bz2
Resolving zlib.net... 69.73.181.135
Connecting to zlib.net|69.73.181.135|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-02-01 19:37:37 ERROR 404: Not Found.

--2012-02-01 19:37:37-- 
http://www.pengutronix.de/software/ptxdist/temporary-src/zlib-1.2.5.tar.bz2
Resolving www.pengutronix.de... 78.47.139.85,
2a01:4f8:121:2:5054:ff:feaf:fc62
Connecting to www.pengutronix.de|78.47.139.85|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-02-01 19:37:37 ERROR 404: Not Found.


Could not download packet
URL: http://zlib.net/zlib-1.2.5.tar.bz2

make: ***
[/home/luc/Local/OSELAS.Toolchain-2011.11.1/src/zlib-1.2.5.tar.bz2] Error 1
luc@luc-VirtualBox:~/Local/OSELAS.Toolchain-2011.11.1$

Luc
Hi again,

I have changed this in .../rules/host-zlib.make

HOST_ZLIB_VERSION  := 1.2.6
HOST_ZLIB_MD5    := dc2cfa0d2313ca77224b4d932b2911e9

at this moment its building ...

Maybe this is usefull for somebody

Luc

davef
Or find the wanted version and drop it into the recommended place for all
source code, ie /home/ptxdist/all_src and set that up in "ptxdist setup" ->
sources

There might be a problem using a newer version.

You could search here this issue has been discussed.

http://blog.gmane.org/gmane.comp.embedded.ptxdist.oselas.community

Luc
Thanks Dave, it is a better idea to drop the missing source code into the
/src directory because there are some other packages missing while
compiling BSP

Luc

Juergen Beisert
Luc, you can run a "ptxdist get" prior the build. This will start to
download all packages at onces. If it fails at some package download it
manually from another location and re-run the "ptxdist get" until all
archives are available. As Dave suggested you should setup one location for
all archives. This will save time, as the download occures only once per
archive. When all archives are present, the "ptxdist go" should work as
expected. Changing the URL in the rule files is also a good idea. When
changing the version of the package at the same time you might face
problems with the new release. Changing the version is more a developer
feature and requires tests after it, if there are no negative side effects.
But if you are sure the new version does not break other packages this
change is welcome at our ptxdist mailing list to improve PTXdist itself.