Hello Alon and others,

I (try to) use the opensc/branches/alonbl/mingw/ branch and I can't
compile it any more :-)

I run ./configure with no option and get:
OpenSC has been configured with the following options:


Version:                 0.11.4-svn
User binaries:           /usr/local/bin
Configuration files:     /usr/local/etc

man support:             yes
doc support:             no
zlib support:            yes
readline support:        yes
OpenSSL support:         yes
PC/SC support:           no
OpenCT support:          no
NSPlugin support:        no

Host:                    i686-pc-linux-gnu
Compiler:                gcc
Preprocessor flags:
Compiler flags:          -fno-strict-aliasing -g -O2
Linker flags:
Libraries:                -lz -lreadline

LTLIB_CFLAGS:
LTLIB_LIBS:              -lltdl
READLINE_CFLAGS:
READLINE_LIBS:           -lreadline
ZLIB_CFLAGS:
ZLIB_LIBS:               -lz
OPENSSL_CFLAGS:
OPENSSL_LIBS:            -lcrypto
OPENCT_CFLAGS:
OPENCT_LIBS:
LIBASSUAN_CFLAGS:
LIBASSUAN_LIBS:          -lassuan

Then I do make and get:
make  all-recursive
make[1]: Entering directory
`/home/lroussea/sc/OpenSC/svn/opensc/branches/alonbl/mingw'
Making all in aclocal
make[2]: Entering directory
`/home/lroussea/sc/OpenSC/svn/opensc/branches/alonbl/mingw/aclocal'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/lroussea/sc/OpenSC/svn/opensc/branches/alonbl/mingw/aclocal'
Making all in man
make[2]: Entering directory
`/home/lroussea/sc/OpenSC/svn/opensc/branches/alonbl/mingw/man'

ERROR: Please set xml-stylesheets directory using --with-xsl-stylesheets-dir

make[2]: *** [out/*.1] Error 1
make[2]: Leaving directory
`/home/lroussea/sc/OpenSC/svn/opensc/branches/alonbl/mingw/man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/lroussea/sc/OpenSC/svn/opensc/branches/alonbl/mingw'
make: *** [all] Error 2


What is the value I should use for --with-xsl-stylesheets-dir=?

Could OpenSC just compile without using any argument to ./configure

I can use "./configure --disable-man" so I propose the patch:
Index: man/Makefile.am
===================================================================
--- man/Makefile.am (révision 3375)
+++ man/Makefile.am (copie de travail)
@@ -9,7 +9,7 @@ dist_man5_MANS = out/*.5
 out/*.1 out/*.3 out/*.5:
    @if [ "$(xmlstylesheetsdir)" = "no" ]; then \
        echo >&2; \
-       echo "ERROR: Please set xml-stylesheets directory using
--with-xsl-stylesheets-dir" >&2; \
+       echo "ERROR: Please set xml-stylesheets directory using
--with-xsl-stylesheets-dir or use --disable-man" >&2; \
        echo >&2; \
        false; \
    fi

Maybe the default could be to compile _without_ generating the man pages.

bye

-- 
 Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to