Closed deteego closed 13 years ago
It definitely seems related, but I've had no trouble with this in the past. I'm sorry to ask this of you, but can you try deleting your .ghc folder and building from scratch? Most likely one of the packages got misconfigured somewhere along the way and cabal hasn't noticed it yet.
Well I have built packages using cabal2arch, so I will have to do a cascade and rebuild again (will take around an hour).
Will report back to see what happens
I rebuilt yesod completely and it builds fine, so something must have happened previously when building the libraries
Same project again, this time however there is a linker error which causes my webserver to fail to build
Loading package cryptocipher-0.2.5 ... linking ... done. Loading package cryptohash-0.6.3 ... linking ... done. Loading package tls-0.3.3 ... linking ... done. Loading package http-enumerator-0.3.1 ... linking ... done. Loading package tagsoup-0.12 ... linking ... done. Loading package xml-1.3.7 ... linking ... done. Loading package authenticate-0.8.2.2 ... linking ... done. Loading package control-monad-attempt-0.3.0 ... linking ... done. Loading package stm-2.2.0.1 ... linking ... done. Loading package pool-0.0.1 ... linking ... done. Loading package web-routes-quasi-0.6.3.1 ... linking ... done. Loading package persistent-0.4.1 ... linking ... done. Loading package clientsession-0.4.1 ... linking ... done. Loading package cookie-0.0.0 ... linking ... done. Loading package yesod-core-0.7.0.1 ... linking ... done. Loading package ranges-0.2.3 ... linking ... done. Loading package email-validate-0.2.6 ... linking ... done. Loading package xss-sanitize-0.2.6 ... linking ... done. Loading package yesod-persistent-0.0.0.1 ... linking ... done. Loading package yesod-form-0.0.0.2 ... linking ... done. Loading package yesod-json-0.0.0.1 ... linking ... done. Loading package yesod-auth-0.3.0.1 ... linking ... done. Loading package file-embed-0.0.3.1 ... linking ... done. Loading package unix-compat-0.2.1.1 ... linking ... done. Loading package wai-app-static-0.0.1.1 ... linking ... done. Loading package yesod-static-0.0.0.1 ... linking ... done. Loading package yesod-0.7.1 ... linking ... ghc: /usr/lib/ghc-7.0.2/site-local/yesod-0.7.1/HSyesod-0.7.1.o: unknown symbol
waizmhandlerzmdevelzm0zi2zi0zi1_NetworkziWaiziHandlerziDevelServer_runQuit1_info' ghc: unable to load package
yesod-0.7.1'I think this may have something to do with using -fproduction flag to build yesod (in order to get yesod to build)