#1876: Complete shared library support
---------------------------------+------------------------------------------
    Reporter:  simonmar          |        Owner:                    
        Type:  task              |       Status:  new               
    Priority:  high              |    Milestone:  6.10 branch       
   Component:  Compiler          |      Version:  6.8.1             
    Severity:  normal            |   Resolution:                    
    Keywords:                    |   Difficulty:  Difficult (1 week)
    Testcase:                    |           Os:  Unknown/Multiple  
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by juhpetersen):

 Replying to [comment:15 simonmar]:
 > Grab the GHC sources, configure with `--enable-shared`, build as normal
 and report problems that you encounter.

 Ok, sorry for the delay.  I installed libffi-devel on Fedora rawhide and
 got quite far this time with stable:

 :
 :
 /home/petersen/ghc-6.10.1.20090303/utils/installPackage/install-
 inplace/bin/installPackage install
 '/home/petersen/ghc-6.10.1.20090303/utils/ghc-pkg/install-inplace/bin/ghc-
 pkg' 'XXX/package.conf' "" \
 /home/petersen/ghc-6.10.1.20090303/ghc/stage2-inplace          \
 /home/petersen/ghc-6.10.1.20090303/ghc/stage2-inplace          \
                            '$prefix'
 \
                            '/home/petersen/ghc-6.10.1.20090303/inplace-
 datadir'                           \
                            '$prefix/libexec'
 \
                            '$prefix/dynlib'
 \
                            '/home/petersen/ghc-6.10.1.20090303/inplace-
 datadir'                           \
                            '$prefix/doc'
 \
                            '$prefix/html'
 \
                            '$prefix/haddock'
 \
                            --distpref dist-stage2
 \
                            --disable-executable-stripping
 \
                            --enable-shell-wrappers
 Installing executable(s) in
 /home/petersen/ghc-6.10.1.20090303/ghc/stage2-inplace
 make[3]: Leaving directory `/home/petersen/ghc-6.10.1.20090303/ghc'
 make[2]: Leaving directory `/home/petersen/ghc-6.10.1.20090303/compiler'
 make -C utils with-stage-2
 make[2]: Entering directory `/home/petersen/ghc-6.10.1.20090303/utils'
 make -C installPackage with-stage-2
 make[3]: Entering directory
 `/home/petersen/ghc-6.10.1.20090303/utils/installPackage'
 /home/petersen/ghc-6.10.1.20090303/libraries/cabal-bin /usr/bin/ghc
 /home/petersen/ghc-6.10.1.20090303/libraries/bootstrapping.conf 1.6.0.2
 configure --distpref dist-install         \
                            --prefix=/NONEXISTENT --bindir=/NONEXISTENT
 --libdir=/NONEXISTENT --libexecdir=/NONEXISTENT --datadir=/NONEXISTENT
 --docdir=/NONEXISTENT --haddockdir=/NONEXISTENT --htmldir=/NONEXISTENT \
                            --with-
 compiler=/home/petersen/ghc-6.10.1.20090303/ghc/stage2-inplace/ghc --with-
 hc-pkg=/home/petersen/ghc-6.10.1.20090303/utils/ghc-pkg/install-
 inplace/bin/ghc-pkg   --package-db
 /home/petersen/ghc-6.10.1.20090303/stage3.package.conf   \
                            --libsubdir='$pkgid' --with-gcc=gcc --with-
 ld=/usr/bin/ld  --with-happy="/usr/bin/happy"    --configure-option
 ='--enable-shared' --configure-option=--with-cc="gcc" --with-
 hsc2hs=/home/petersen/ghc-6.10.1.20090303/utils/hsc2hs/install-
 inplace/bin/hsc2hs       \
                            --constraint="Cabal == 1.6.0.2"
 Configuring installPackage-1.0...
 cabal-bin: ghc version >=6.4 is required but the version of
 /home/petersen/ghc-6.10.1.20090303/ghc/stage2-inplace/ghc could not be
 determined.
 make[3]: *** [with-stage-2] Error 1
 make[3]: Leaving directory
 `/home/petersen/ghc-6.10.1.20090303/utils/installPackage'
 make[2]: *** [with-stage-2.installPackage] Error 2
 make[2]: Leaving directory `/home/petersen/ghc-6.10.1.20090303/utils'
 make[1]: *** [stage2] Error 2
 make[1]: Leaving directory `/home/petersen/ghc-6.10.1.20090303'
 make: *** [bootstrap2] Error 2

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1876#comment:23>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to