Announcement

Collapse
No announcement yet.

failure to compile on kubuntu

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    failure to compile on kubuntu

    Hello to All,
    This is my first post, and I am new to Linux
    I have Kubuntu 12.04 installed and working on a Gateway GM5074b desktop, and am trying to install on my wifes Toshiba Equium, which
    has an overheating problem. I tried to compile and install this utility and got these results (which baffle me). can anyone help source from http://www.buzzard.org.uk/toshiba/ and trying to compile from a Konqueror setup

    > I have checked all essential-packages-list are installed and updated, and followed the directions from the excellent
    > http://www.tuxfiles.org/linuxhelp/softinstall.html
    > At the ./configure stage , I get this error (from the config.log)
    >
    >
    > This file contains any messages produced by compilers while
    > running configure, to aid debugging if configure makes a mistake.
    >
    > configure:580: checking host system type
    > configure:611: checking whether make sets ${MAKE}
    > configure:640: checking for gcc
    > configure:753: checking whether the C compiler (gcc -s) works
    > configure:769: gcc -o conftest -s conftest.c 1>&5
    > configure:795: checking whether the C compiler (gcc -s) is a cross-compiler
    > configure:800: checking whether we are using GNU C
    > configure:809: gcc -E conftest.c
    > configure:828: checking whether gcc accepts -g
    > configure:871: checking for a BSD compatible install
    > configure:924: checking how to run the C preprocessor
    > configure:945: gcc -E conftest.c >/dev/null 2>conftest.out
    > configure:1008: checking for X
    > configure:1075: gcc -E conftest.c >/dev/null 2>conftest.out
    > configure:1071:27: fatal error: X11/Intrinsic.h: No such file or directory
    > compilation terminated.
    > configure: failed program was:
    > #line 1070 "configure"
    > #include "confdefs.h"
    > #include <X11/Intrinsic.h>
    > configure:1151: gcc -o conftest -g -O2 -s conftest.c -lXt 1>&5
    > /usr/bin/ld: cannot find -lXt
    > collect2: ld returned 1 exit status
    > configure: failed program was:
    > #line 1144 "configure"
    > #include "confdefs.h"
    >
    > int

    main() {
    > XtMalloc()
    > ; return 0; }
    > configure:1842: checking for bison
    > configure:1842: checking for byacc
    > configure:1875: checking for flex
    > configure:1909: checking for yywrap in -ll
    > configure:1928: gcc -o conftest -g -O2 -s conftest.c -ll 1>&5
    > /usr/bin/ld: cannot find -ll
    > collect2: ld returned 1 exit status
    > configure: failed program was:
    > #line 1917 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char yywrap();
    >
    > int main() {
    > yywrap()
    > ; return 0; }
    > configure:1953: checking for xmessage
    > configure:1988: checking for wall
    > configure:2023: checking for yywrap in -lfl
    > configure:2042: gcc -o conftest -g -O2 -s conftest.c -lfl 1>&5
    > /usr/bin/ld: cannot find -lfl
    > collect2: ld returned 1 exit status
    > configure: failed program was:
    > #line 2031 "configure"
    > #include "confdefs.h"
    > /* Override any gcc2 internal prototype to avoid an error. */
    > /* We use char because int might match the return type of a gcc2
    > builtin and then its argument prototype would still apply. */
    > char yywrap();
    >
    > int main() {
    > yywrap()
    > ; return 0; }
    > configure:2080: checking for X
    >
    > Can anyone tell me what is wrong it doesnt build a makefile
    >
    > Thank you in appreciation of a fast answer -- my wife has a toshiba laptop that needs this utility
    >
    > Ivan

    #2
    A very handy tool to help you through situations like these is apt-file. It catalogs individual files in packages and thus helps you discover which packages will offer files that you might require. To install the tool:
    Code:
    sudo apt-get install --no-install-recommends apt-file
    Next, update the catalog:
    Code:
    sudo apt-file update
    Finally, search for the file(s) in question. I checked for the first file missing in your post:
    Code:
    steve@x1:~$ [B]apt-file find Intrinsic.h[/B]
    libxt-dev: /usr/include/X11/Intrinsic.h
    It appears, then, that you need to install the package libxt-dev.

    Comment


      #3
      SteveRiley
      Thanks for your quick reply -- my question was naive -- here is my reasoning

      a) The program I was trying to compile was written by J.A.Buzzard in Linux, and will not compile on any Unix flavours

      b) I need to fix the fan program on my wife's Toshiba Equium to make the fan run

      c) Toshiba seem to be in catchup mode for Linux users (not a great deal of support for older machines)

      I am now sadder and wiser ( at 73 ) than I was a week ago !!!!! (need to do some more research)

      Thanks once more

      Ivan

      Comment


        #4
        The purpose of the configure stage is to make sure that you have all the required elements necessary for a successful make. In your case, you are missing a required header file. The challenge is to figure out where to obtain that from. The procedure I outlined is one way of accomplishing that.

        Comment

        Working...
        X