LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-20-2010, 12:41 PM   #1
returnzero
LQ Newbie
 
Registered: Jun 2009
Distribution: Slackware 13
Posts: 8

Rep: Reputation: 0
Xmonad on slack13 dependency install errors


I've been trying to get Xmonad installed and keep running into dependency installation issues.

So far, I've used slackbuilds to get everything I need for Xmonad.
(I'm pretty new to linux still, but as far as I know, having 64bit slack shouldn't be an issue in running 32bit applications?)

I have-

ghc-6.12.1
haskell-mtl

The main issue I've had thus far is with the Haskell-X11 (1.5.0.0) dependency, I downloaded the slackbuild:

( http://slackbuilds.org/repository/13...s/haskell-X11/)

Proceeded to " ./haskell-x11 " and came up with this error in the terminal:

Code:
bash-3.1# ./haskell-X11.SlackBuild 
X11-1.5.0.0/
X11-1.5.0.0/LICENSE
X11-1.5.0.0/cbits/
X11-1.5.0.0/cbits/auxiliaries.c
X11-1.5.0.0/cbits/XUtils.c
X11-1.5.0.0/cbits/fdset.c
X11-1.5.0.0/X11.buildinfo.in
X11-1.5.0.0/configure
X11-1.5.0.0/configure.ac
X11-1.5.0.0/config.mk.in
X11-1.5.0.0/Setup.hs
X11-1.5.0.0/Graphics/
X11-1.5.0.0/Graphics/X11/
X11-1.5.0.0/Graphics/X11/Xlib/
X11-1.5.0.0/Graphics/X11/Xlib/Event.hsc
X11-1.5.0.0/Graphics/X11/Xlib/Color.hs
X11-1.5.0.0/Graphics/X11/Xlib/Cursor.hsc
X11-1.5.0.0/Graphics/X11/Xlib/Image.hs
X11-1.5.0.0/Graphics/X11/Xlib/Context.hs
X11-1.5.0.0/Graphics/X11/Xlib/Misc.hsc
X11-1.5.0.0/Graphics/X11/Xlib/Extras.hsc
X11-1.5.0.0/Graphics/X11/Xlib/Screen.hs
X11-1.5.0.0/Graphics/X11/Xlib/Region.hs
X11-1.5.0.0/Graphics/X11/Xlib/Window.hs
X11-1.5.0.0/Graphics/X11/Xlib/Display.hs
X11-1.5.0.0/Graphics/X11/Xlib/Atom.hsc
X11-1.5.0.0/Graphics/X11/Xlib/Types.hsc
X11-1.5.0.0/Graphics/X11/Xlib/Font.hsc
X11-1.5.0.0/Graphics/X11/Xinerama.hsc
X11-1.5.0.0/Graphics/X11/ExtraTypes/
X11-1.5.0.0/Graphics/X11/ExtraTypes/HP.hsc
X11-1.5.0.0/Graphics/X11/ExtraTypes/XF86.hsc
X11-1.5.0.0/Graphics/X11/ExtraTypes/Sun.hsc
X11-1.5.0.0/Graphics/X11/ExtraTypes/XorgDefault.hsc
X11-1.5.0.0/Graphics/X11/ExtraTypes/DEC.hsc
X11-1.5.0.0/Graphics/X11/ExtraTypes/AP.hsc
X11-1.5.0.0/Graphics/X11/Xlib.hs
X11-1.5.0.0/Graphics/X11/ExtraTypes.hs
X11-1.5.0.0/Graphics/X11/Types.hsc
X11-1.5.0.0/Graphics/X11.hs
X11-1.5.0.0/include/
X11-1.5.0.0/include/HsAllKeysyms.h
X11-1.5.0.0/include/X11_extras_config.h.in
X11-1.5.0.0/include/HsXlib.h
X11-1.5.0.0/include/XlibExtras.h
X11-1.5.0.0/include/HsX11Config.h.in
X11-1.5.0.0/X11.cabal

Setup.hs:3:0:
    Warning: In the use of `defaultUserHooks'
             (imported from Distribution.Simple):
             Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2
             compatibility in which case you must stick with defaultUserHooks"
Warning: defaultUserHooks in Setup script is deprecated.
Configuring X11-1.5.0.0...
configure: WARNING: unrecognized options: --with-hc
checking for gcc... gcc
checking for C compiler default output file name... 
configure: error: in `/tmp/SBo/X11-1.5.0.0':
configure: error: C compiler cannot create executables
See `config.log' for more details.

I don't know where to go from here, any help is very much appreciated.

Thanks

Last edited by returnzero; 01-20-2010 at 01:24 PM.
 
Old 01-20-2010, 12:55 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
The warning for Setup.hs (where it scorns the user of `defaultUserHooks') is nothing to be alarmed about - it's a warning, not an error.

Where I am concerned though, is with "configure: error: C compiler cannot create executables".

Are you running the haskell-x11.SlackBuild script as root?
 
Old 01-20-2010, 01:02 PM   #3
returnzero
LQ Newbie
 
Registered: Jun 2009
Distribution: Slackware 13
Posts: 8

Original Poster
Rep: Reputation: 0
Yeah I am running as root. The strange part is, the "cannont create exectuables" error has came up before more than once for different applications...
 
Old 01-20-2010, 01:23 PM   #4
returnzero
LQ Newbie
 
Registered: Jun 2009
Distribution: Slackware 13
Posts: 8

Original Poster
Rep: Reputation: 0
Solved

Alright I finally figured this out.

I had a slight hunch if might have to do with the fact I'm using 64bit slack and it turns out it was.

After searching around for 64bit slackbuild install errors I came across this thread here:

(Post 4)- https://www.linuxquestions.org:443/q...ables-768900/?

and for future reference if for some reason that link doesn't work the answer to my question was from Alien_Bob -

Quote:
In order to compile ClamAV (or use other SlackBuild scripts from http://slackbuilds.org) you do not have to install 32-bit Multilib compatibility at all.

Just set the value of the ARCH variable in the SlackBuild script to "x86_64".

The error you describe is typical of a compilation effort where the script has ARCH incorrectly set to "i486".

Please read http://slackbuilds.org/faq/#x86_64 to get a better understanding of using our scripts on 64-bit Slackware.

Eric


So basically, just "nano slack_script_here" and change:

ARCH=${ARCH:-i486} to ARCH=${ARCH:-x86_64}


Hope this helps somebody!

Last edited by returnzero; 01-20-2010 at 01:25 PM.
 
  


Reply

Tags
dependency, error, install, xmonad



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Install Bluetile In Ubuntu (Tiling Window Manager For X Based On Xmonad) LXer Syndicated Linux News 0 12-08-2009 04:10 PM
How to solve dependency errors SuperDude123 Linux - Newbie 3 02-13-2009 08:43 PM
Java Dependency Errors Icantprintinlinux Linux - Software 1 02-17-2008 04:40 AM
RPM Dependency Errors on 10.0 Tim Johnson Slackware 5 09-01-2005 10:22 AM
rpm dependency errors hoover93 Linux - Software 1 05-19-2005 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration