[sane-devel] Sane-CVS on OS/2
Henning Meier-Geinitz
henning at meier-geinitz.de
Mon Jun 17 19:05:05 BST 2002
Hi,
On Mon, Jun 17, 2002 at 12:57:35AM +0200, Franz Bakan wrote:
> 2.
> #include <fcntl.h>
> is missing in hpsj5s.c (because of O_RDWR)
I have contacted the author.
> 3. The following error which is also present in 1.0.8-release-code:
>
> ...
> gmake.exe[1]: Entering directory `/SaneCVS/sane-backends/po'
Shouldn't this only happen with "./configure --enable-translations"?
It's disabled by default because the implementation isn't very clean.
> updating mustek.de.po from ../backend/mustek.c Warnung:
> Typ der Datei .tmp/*.*? mit Suffix *? ist unbekannt; C wird versucht
> Íffnen der Datei .tmp/*.*? zum Lesen fehlgeschlagen: No such file or directory
I have no real idea what this means and where it comes from. ".tmp" is
the temporary directory used to create the po files. Maybe OS/2
doesn't like directories starting with "."?
> gmake.exe[1]: *** [mustek.de.po] Error 1
> gmake.exe[1]: Leaving directory `/SaneCVS/sane-backends/po'
> G:/USR/BIN/gmake.exe: *** [all-recursive] Error 1
>
> make runs fine if executed in the .../po directory
Oh, this may be a hint. I think we had a similar problem when
SHELL=/bin/sh wasn't set. It is in this case but maybe there is a
similar reason?
Can you remove the "@" from the lines following
# Sourcefiles -> backend.lang.po (updating po)
in po/Makefile, and run make from the main directory again? So we
should be able to see what's happening.
The output should look like this:
$ make mustek.de.po
echo -n "updating mustek.de.po from ../backend/mustek.c "
updating mustek.de.po from ../backend/mustek.c rm -rf .tmp
mkdir .tmp && \
for file in ../backend/mustek.c ; do \
sed < ${file} -e 's/#define//g' \
> .tmp/basename ${file} ; \
done
xgettext -dmustek -kSANE_I18N .tmp/*.*
mv mustek.po mustek.pot
cp mustek.de.po mustek.de.po.old
msgmerge mustek.de.po.old mustek.pot -o mustek.de.po
..... fertig.
rm -f mustek.de.po.old
Bye,
Henning
More information about the sane-devel
mailing list