Your message dated Tue, 31 May 2011 02:28:10 +0200
with message-id <[email protected]>
and subject line [libogre-dev] compiledemos.sh uses non standard shell
extensions
has caused the Debian Bug report #561614,
regarding [libogre-dev] compiledemos.sh uses non standard shell extensions
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
561614: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561614
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libogre-dev
Version: 1.6.4.dfsg1-1
Severity: normal
Hi,
the script compiledemos.sh uses popd and pushd to compile the example
files, which are only available in ksh and zsh.
I'm using the bash and therefore I get lots of errors:
LANG=C sh /usr/share/doc/libogre-dev/examples/compiledemos.sh
Checksum verified: 8a73fbcf42fd6b156b2567839d0cd125
Using existing ogre directory (remove it and re-run this script if you
want to start from scratch)
/usr/share/doc/libogre-dev/examples/compiledemos.sh: 101: pushd: not
found
Compiling Samples/Common/bin/RenderToTexture ... g++: *.cpp: No such
file or directory
done
Best regards,
Matthias
--- System information. ---
Architecture: amd64
Kernel: Linux 2.6.32-2009.12.05
Debian Release: squeeze/sid
500 unstable ftp2.de.debian.org
500 unstable debian-multimedia.informatik.uni-erlangen.de
1 experimental ftp2.de.debian.org
--- Package information. ---
Depends (Version) | Installed
=======================================-+-==================
libogremain-1.6.4 (= 1.6.4.dfsg1-1) | 1.6.4.dfsg1-1
libfreeimage-dev | 3.10.0-2
libfreetype6-dev | 2.3.11-1
libzzip-dev | 0.13.56-1+b1
libxaw7-dev | 2:1.0.7-1
libopenexr-dev | 1.6.1-4.1
Package's Recommends field is empty.
Suggests (Version) | Installed
=======================-+-===========
ogre-doc | 1.6.4.dfsg1-1
--- End Message ---
--- Begin Message ---
Hello,
pushd and popd certainly exist as "bash" built-in commands (see "man bash").
I think that the problem is that you were invoking it with "sh", and "sh"
was changed a while ago to point to "dash" instead of "bash".
This happened a while ago... a few months before your bug report was
submitted:
dash (0.5.5.1-2.2) unstable; urgency=low
[ ... ]
* Change the default for the system shell to dash.
[ ... ]
-- Luk Claes <[email protected]> Wed, 22 Jul 2009 20:17:31 +0200
Since the header of the script points to "!/bin/bash", my opinion is that
everything is correct and I think that it's safe to close this bug report.
Please reopen it if you have further comments.
Anyway, the script is currently unused now, many things changed since OGRE
v1.4.9 (the last time that the script was updated) was released, and
previous maintainers neglected it for a long time. Now the building system
uses CMake (including all of the Samples, apparently), so I don't think that
shipping this script makes much sense -- it's easy enough to build either
all at once or individual desired Samples without the help of this script.
Cheers.
--
Manuel A. Fernandez Montecelo <[email protected]>
--- End Message ---