Linux don't like me

No wonder everyone uses Windows

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »

54 Replies - 2230 Views - Last Post: 20 August 2008 - 02:18 PM

#1 jacobjordan  Icon User is offline

  • class Me : Perfection
  • member icon

Reputation: 113
  • View blog
  • Posts: 1,499
  • Joined: 11-June 08

Linux don't like me

Posted 23 July 2008 - 10:42 AM

First of all, i am a windows person, so i know almost nothing about Linux. I have Ubuntu, and i have the source code for a program that can be compiled on linux (Audacity, to be specific). I was wanting to compile the source into an executable. I read the Linux section of the readme file, and did exactly as it said. First, i change the directory to the program's directory with a cd command, then i type ./configure, and that's where trouble starts. The prompt spits out a bunch of text, none of which makes any since to a non-linux guy like me. However, the word "Error" stands out, and that's not good no matter what OS your using. Here is exactly what the prompt says:

root@jacob-desktop:/home/jacob/Desktop/Documents/Source/audacity-src-1.2.6# ./configure
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
root@jacob-desktop:/home/jacob/Desktop/Documents/Source/audacity-src-1.2.6#


All i know is that it can't be compiled. I get similar messages when i try to compile other programs. Is there anything i can do to fix this?


For some stupid reason, i couldn't add "config.log" as an attachment, so i had to put it's content's directly into this post:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = jacob-desktop
uname -m = i686
uname -r = 2.6.22-14-generic
uname -s = Linux
uname -v = #1 SMP Sun Oct 14 23:05:12 GMT 2007

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/X11R6/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1405: checking for gcc
configure:1421: found /usr/bin/gcc
configure:1431: result: gcc
configure:1675: checking for C compiler version
configure:1678: gcc --version </dev/null >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright © 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1681: $? = 0
configure:1683: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:1686: $? = 0
configure:1688: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:1691: $? = 1
configure:1714: checking for C compiler default output file name
configure:1717: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:1720: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1759: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC=gcc

## ----------------- ##
## Output variables. ##
## ----------------- ##

AFTERBUILD=''
AUDACITY_NAME=''
BUILDLIBS=''
CC='gcc'
CDEPEND=''
CFLAGS=''
CONFIGHEADER=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRAOBJS=''
EXTRATARGETS=''
INSTALL_DATA=''
INSTALL_PREFIX=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
OPTOBJS=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
PRECOMP_CFLAGS=''
SHELL='/bin/bash'
SOUNDTOUCH_CXXFLAGS=''
SOUNDTOUCH_LIBS=''
WX_CONFIG=''
ZIP=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_pt_PKG_CONFIG=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""

configure: exit 77

Forgive me for the unreasonable length of this post.

Is This A Good Question/Topic? 0
  • +

Replies To: Linux don't like me

#2 baavgai  Icon User is offline

  • Dreaming Coder
  • member icon

Reputation: 5932
  • View blog
  • Posts: 12,857
  • Joined: 16-October 07

Re: Linux don't like me

Posted 23 July 2008 - 11:55 AM

Why not just use the disto's version of audacity? Ubuntu doesn't expect you have to get down and ugly with the command line. Not that you can't.

With the basic Ubuntu setup, you don't have build tools. From the terminal, type this:
sudo apt-get install build-essential


And try again.

Unfortunately, there will probably be a number of other dependencies you'll need. You have to hunt them down individually.

Since audacity is in the package stream, you may even be able to do this, but it's hit of miss.
sudo apt-get build-dep audacity


Good luck.
Was This Post Helpful? 0
  • +
  • -

#3 jacobjordan  Icon User is offline

  • class Me : Perfection
  • member icon

Reputation: 113
  • View blog
  • Posts: 1,499
  • Joined: 11-June 08

Re: Linux don't like me

Posted 23 July 2008 - 12:54 PM

View Postbaavgai, on 23 Jul, 2008 - 01:55 PM, said:

Why not just use the disto's version of audacity? Ubuntu doesn't expect you have to get down and ugly with the command line. Not that you can't.

With the basic Ubuntu setup, you don't have build tools. From the terminal, type this:
sudo apt-get install build-essential


And try again.

Unfortunately, there will probably be a number of other dependencies you'll need. You have to hunt them down individually.

Since audacity is in the package stream, you may even be able to do this, but it's hit of miss.
sudo apt-get build-dep audacity


Good luck.

Does that require internet access? If it does, that doesn't help me at all because i can't get my internet driver on Ubuntu working either.
Was This Post Helpful? 0
  • +
  • -

#4 baavgai  Icon User is offline

  • Dreaming Coder
  • member icon

Reputation: 5932
  • View blog
  • Posts: 12,857
  • Joined: 16-October 07

Re: Linux don't like me

Posted 23 July 2008 - 01:12 PM

View Postjacobjordan, on 23 Jul, 2008 - 03:54 PM, said:

Does that require internet access? If it does, that doesn't help me at all because i can't get my internet driver on Ubuntu working either.


You, um, posted here? How did you get the source package on the machine?

build-essential might be on your install CD, so you could put that in and go for a spin. The apt-get tool reads from "repositories", one of which should be the CD player. You can gather up all the little .deb files you need and transfer them the same way you got that source package over. For example, here's the .deb of audacity ( http://packages.ubun.../sound/audacity ) along with a listing of all the requirements.

However, if your internet is hosed, I'd probably make that priority one. Also, if Ubuntu didn't detect your hardware properly, there's a good chance no other linux distro will either.

You can do a command like
dmesg | grep eth


to see if any network cards were found.

Then
sudo ifconfig


to see if you have any networking set up.
Was This Post Helpful? 0
  • +
  • -

#5 jacobjordan  Icon User is offline

  • class Me : Perfection
  • member icon

Reputation: 113
  • View blog
  • Posts: 1,499
  • Joined: 11-June 08

Re: Linux don't like me

Posted 23 July 2008 - 01:29 PM

View Postbaavgai, on 23 Jul, 2008 - 03:12 PM, said:

View Postjacobjordan, on 23 Jul, 2008 - 03:54 PM, said:

Does that require internet access? If it does, that doesn't help me at all because i can't get my internet driver on Ubuntu working either.


You, um, posted here? How did you get the source package on the machine?

I'm in Windows and was in Windows when i wrote the other posts and got the source. My computer dual boots into Ubuntu. Since Ubuntu is very internet based, and i can't get the internet working on it, i'm having to download the source on Windows, boot into Ubuntu and install it there.
Was This Post Helpful? 0
  • +
  • -

#6 Arhineus  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 103
  • Joined: 14-June 08

Re: Linux don't like me

Posted 23 July 2008 - 02:39 PM

I'd suggest taking a look over on the Ubuntu forums, they are very useful, and a great source of general information.
Was This Post Helpful? 0
  • +
  • -

#7 MorphiusFaydal  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 43
  • View blog
  • Posts: 1,376
  • Joined: 12-May 05

Re: Linux don't like me

Posted 23 July 2008 - 03:29 PM

Yeah. You need to get your network controller working first, then you can worry about why Audacity isn't compiling.
Was This Post Helpful? 0
  • +
  • -

#8 jacobjordan  Icon User is offline

  • class Me : Perfection
  • member icon

Reputation: 113
  • View blog
  • Posts: 1,499
  • Joined: 11-June 08

Re: Linux don't like me

Posted 23 July 2008 - 03:59 PM

View PostMorphiusFaydal, on 23 Jul, 2008 - 05:29 PM, said:

Yeah. You need to get your network controller working first, then you can worry about why Audacity isn't compiling.

I don't know if that's possible. When i compiled the driver, it said there was a syntax error in the actual code "Undefined type for Bool".
Was This Post Helpful? 0
  • +
  • -

#9 MorphiusFaydal  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 43
  • View blog
  • Posts: 1,376
  • Joined: 12-May 05

Re: Linux don't like me

Posted 23 July 2008 - 07:00 PM

What driver?
Was This Post Helpful? 0
  • +
  • -

#10 jacobjordan  Icon User is offline

  • class Me : Perfection
  • member icon

Reputation: 113
  • View blog
  • Posts: 1,499
  • Joined: 11-June 08

Re: Linux don't like me

Posted 23 July 2008 - 07:22 PM

View PostMorphiusFaydal, on 23 Jul, 2008 - 09:00 PM, said:

What driver?

The driver for my wireless card.
Was This Post Helpful? 0
  • +
  • -

#11 no2pencil  Icon User is offline

  • Admiral Fancy Pants
  • member icon

Reputation: 5395
  • View blog
  • Posts: 27,389
  • Joined: 10-May 07

Re: Linux don't like me

Posted 23 July 2008 - 07:51 PM

View Postjacobjordan, on 23 Jul, 2008 - 03:54 PM, said:

Does that require internet access? If it does, that doesn't help me at all because i can't get my internet driver on Ubuntu working either.

Sorry, but this one is a stain on you.

Rather than 'shoot from the hip' & hope for the best, Linux requires a bit of reading & understanding. Prior to installing the OS, you should have a well understanding of your hardware should any problems arise.

When I first got into Linux there was a HUGE issue with Win-modems. When I read about this, I knew I was going to need to buy a new modem before I continued. Problem avoided.

View Postjacobjordan, on 23 Jul, 2008 - 10:22 PM, said:

View PostMorphiusFaydal, on 23 Jul, 2008 - 09:00 PM, said:

What driver?

The driver for my wireless card.

A bit of detail would go a long way.

What wireless card are you using? Is it built in?
Was This Post Helpful? 0
  • +
  • -

#12 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 180
  • View blog
  • Posts: 4,667
  • Joined: 26-November 04

Re: Linux don't like me

Posted 23 July 2008 - 11:07 PM

You will need to install the ndiswrapper driver for your wireless card.
Was This Post Helpful? 0
  • +
  • -

#13 lanec42  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 229
  • Joined: 26-March 08

Re: Linux don't like me

Posted 24 July 2008 - 08:55 AM

Or just get a Linux driver, depending on your card. That's how I got mine: just emailed Realtek about forty times :D

EDIT: @the title: Linux does like you. Linux likes everyone.
Was This Post Helpful? 0
  • +
  • -

#14 jacobjordan  Icon User is offline

  • class Me : Perfection
  • member icon

Reputation: 113
  • View blog
  • Posts: 1,499
  • Joined: 11-June 08

Re: Linux don't like me

Posted 24 July 2008 - 09:32 AM

Ok, i have the driver for my wireless card, but linux won't compile it because it says there is a syntax error in the actual code for the driver. I do not remember the name of the driver at the present, and i will have to boot into linux to get the name of it, which i won't do at the moment as i am quite busy. I will edit this post and add the name of the driver just as soon as i can. Please hold...
Was This Post Helpful? 0
  • +
  • -

#15 WolfCoder  Icon User is offline

  • Isn't a volcano just an angry hill?
  • member icon


Reputation: 790
  • View blog
  • Posts: 7,623
  • Joined: 05-May 05

Re: Linux don't like me

Posted 25 July 2008 - 10:05 AM

Yeah I hear you, I like windows because when I double click an installer it actually installs end of story.

Ubuntu magically works with my PCI wireless card and my USB MIMO adapter which are both made by Belkin. I didn't install anything it just worked, and I used the Add Program thingy and let Ubuntu automatically install things. If it's too much of a hassle find a USB wireless adapter that's known to "magically" work for Ubuntu like mine did.

I remember having to install c-compiler packs and crap to get ZSNES to compile and install on my Linux, and I screamed when I found out ZSNES shows up when you search under the Add Programs feature and I could have had just a 1-click install.

Get used to the command line, Ubuntu's parts like to stop working randomly and require you to wade through the command line junk.
Was This Post Helpful? 0
  • +
  • -

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »