piano-tuning software

Mr Chris Aitken chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org
Thu Aug 28 14:50:45 UTC 2008


Daniel Hedlund wrote:
> On Thu, Aug 28, 2008 at 8:46 AM, Mr Chris Aitken 
> <chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org <mailto:chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org>> wrote:
>
>     configure: WARNING: `missing' script is too old or missing
>     checking for gawk... no
>     checking for mawk... mawk
>     checking whether make sets ${MAKE}... yes
>     checking for gawk... (cached) mawk
>     checking for gcc... gcc
>     checking for C compiler default output... configure: error: C
>     compiler cannot create executables
>     chris at cpc:~/piano-1.1$ make
>
>
> Try verifying whether your C compiler is working:
> echo "int main() { return 1; }" > compile-test.c
> gcc compile-test.c

chris at cpc:~$ echo "int main() { return 1; }" > compile-test.c
chris at cpc:~$ gcc compile-test.c
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
chris at cpc:~$ echo "int main() { return 1; }" > compile-test.c
chris at cpc:~$ gcc compile-test.c
chris at cpc:~$ su
Password:
root at cpc:/home/chris# echo "int main() { return 1; }" > compile-test.c
root at cpc:/home/chris# gcc compile-test.c
root at cpc:/home/chris# echo "int main() { return 1; }" > compile-test.c 
gcc compile-test.c
root at cpc:/home/chris#

>
> Also, please let us know what distribution you are using.

Ubuntu 8.04

> For example, if you are running Ubuntu or Debian, installing the 
> following package might solve your problem:
> sudo apt-get install libc-dev

chris at cpc:~$ sudo apt-get install libc-dev
[sudo] password for chris:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting libc6-dev instead of libc-dev
The following extra packages will be installed:
  libc6-dev linux-libc-dev
Suggested packages:
  glibc-doc manpages-dev
The following NEW packages will be installed:
  libc6-dev linux-libc-dev
0 upgraded, 2 newly installed, 0 to remove and 92 not upgraded.
Need to get 4040kB of archives.
After this operation, 17.2MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://us.archive.ubuntu.com hardy-updates/main linux-libc-dev 
2.6.24-19.41 [696kB]
Get:2 http://us.archive.ubuntu.com hardy/main libc6-dev 2.7-10ubuntu3 
[3344kB]                                             
Fetched 4040kB in 34s 
(118kB/s)                                                                                             

Selecting previously deselected package linux-libc-dev.
(Reading database ... 147645 files and directories currently installed.)
Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.24-19.41_i386.deb) ...
Selecting previously deselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.7-10ubuntu3_i386.deb) ...
Setting up linux-libc-dev (2.6.24-19.41) ...
Setting up libc6-dev (2.7-10ubuntu3) ...

Then I tried the installation again:


chris at cpc:~$ cd piano-1.1
chris at cpc:~/piano-1.1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/chris/piano-1.1/missing: Unknown `--run' option
Try `/home/chris/piano-1.1/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... mawk
checking whether make sets ${MAKE}... yes
checking for gawk... (cached) mawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for main in -lncurses... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for select... yes
checking for strstr... yes
checking for strtod... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
chris at cpc:~/piano-1.1$ make
make  all-am
make[1]: Entering directory `/home/chris/piano-1.1'
source='main.c' object='main.o' libtool=no \
    depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
    depmode=gcc3 /bin/bash ./depcomp \
    gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c `test -f 'main.c' || 
echo './'`main.c
In file included from main.c:28:
term.h:25:20: error: curses.h: No such file or directory
main.c:29:21: error: ncurses.h: No such file or directory
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/chris/piano-1.1'
make: *** [all] Error 2
chris at cpc:~/piano-1.1$ su
Password:
root at cpc:/home/chris/piano-1.1# make install
source='main.c' object='main.o' libtool=no \
    depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
    depmode=gcc3 /bin/bash ./depcomp \
    gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c `test -f 'main.c' || 
echo './'`main.c
In file included from main.c:28:
term.h:25:20: error: curses.h: No such file or directory
main.c:29:21: error: ncurses.h: No such file or directory
make: *** [main.o] Error 1
root at cpc:/home/chris/piano-1.1#



>
>
> Cheers,
>
> Daniel Hedlund
> daniel-fKF+LmlhkCtg9hUCZPvPmw at public.gmane.org <mailto:daniel-fKF+LmlhkCtg9hUCZPvPmw at public.gmane.org>
>
>
>  
>

--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list