Bin error when try to execute the source ./haddock.config

You can still use haddock…

Comment out the other lines

But again haddock is perfectly fine even if you get those messages. This command only defines some environment variable and path and does not start haddock