Re: [Haskell-cafe] subversion with haskell

2010-08-06 Thread Yuras Shumovich
Hi,

Try the next:
% env EXTRA_CPPFLAGS=-I/usr/local/include/subversion-1 \
  EXTRA_LDFLAGS=-L/usr/local/lib \
  runhaskell Setup.hs configure
% runhaskell Setup.hs build
% runhaskell Setup.hs install
(and read the installation instructions included into the tarball :) )

2010/8/5 Andrew U. Frank fran...@geoinfo.tuwien.ac.at:
 i found the file in usr/include/subversion-1 (i use an ubuntu (debian)
 installation form). but the cabal installer (i.e. the configure script)
 does not find the file.

 can you give me a hint where it could search and where i could copy the
 file to. i tried to read the configure script, but cannot see, where it
 searches. i am not familiar with cpp and do not understand what the hint
 'extra cpp flags' could mean.

 thanks for your help!

 andrew

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] subversion with haskell

2010-08-05 Thread Andrew U. Frank
hackage contains a package Hs2SVN

HsSVN seems to do what i need, but unfortunately, i cannot install it -
i have the error :

checking for stdint.h... yes
checking for unistd.h... yes
checking svn_error.h usability... no
checking svn_error.h presence... no
checking for svn_error.h... no
configure: error: SVN headers are required. Hint: EXTRA_CPPFLAGS
cabal: Error: some packages failed to install:
HsSVN-0.4.3 failed during the configure step. The exception was:
ExitFailure 1


i installed all development packages i could see related to svn
- which
one is really needed? can you clarify and point me in the right
direction? (and put the information in the package cabal file so
it is copied to hackage)

thank you
andrew




___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] subversion with haskell

2010-08-05 Thread Yuras Shumovich
Hi,

As reported by the configure script, file svn_error.h is missing.
It presence in latest svn api
(http://subversion.apache.org/docs/api/latest/svn__error_8h.html)
It can be installed in some unusual location, you can try find /
-name svn_error.h
If you are using debian based system, you can try apt-file to find the
correspondent package.

2010/8/5 Andrew U. Frank fran...@geoinfo.tuwien.ac.at:
 hackage contains a package Hs2SVN

 HsSVN seems to do what i need, but unfortunately, i cannot install it -
 i have the error :

        checking for stdint.h... yes
        checking for unistd.h... yes
        checking svn_error.h usability... no
        checking svn_error.h presence... no
        checking for svn_error.h... no
        configure: error: SVN headers are required. Hint: EXTRA_CPPFLAGS
        cabal: Error: some packages failed to install:
        HsSVN-0.4.3 failed during the configure step. The exception was:
        ExitFailure 1


        i installed all development packages i could see related to svn
        - which
        one is really needed? can you clarify and point me in the right
        direction? (and put the information in the package cabal file so
        it is copied to hackage)

        thank you
        andrew




 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe