LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-15-2001, 12:25 PM   #1
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Rep: Reputation: 30
Question Help needed plz


Hi guys.

I,ve been trying to install mysql 3.23.39 from a source tar but i,m having a few problems.

Upon trying the following command

./configure --prefix=/usr/local/mysql

I get the following output (i,ll put this in the next post as its quite long)

then I try to run make and I get this...

make: *** No targets specified and no makefile found. Stop.

I have no idea as to what is going wrong if anybody does your help would be appreciated.
 
Old 07-15-2001, 12:28 PM   #2
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
[root@localhost mysql-3.23.39]# ./configure --prefix=/usr/local/mysql
creating cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... no
checking for byacc... no
checking for pdftex... no
checking return type of sprintf... int
checking for uname... /bin/uname
checking operating system... Linux
checking if we should use skip-locking as default for linux-gnu... yes
checking for ln... /bin/ln
checking for ln... /bin/ln
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for sed... /bin/sed
checking for cmp... /usr/bin/cmp
checking for chmod... /bin/chmod
checking for hostname... /bin/hostname
checking for perl... /usr/bin/perl
checking for ps... /bin/ps
checking how to check if pid exists... /bin/ps p $$PID | grep mysqld > /dev/nullchecking for kill... /bin/kill
checking for kill switches... /bin/kill -0 $$PID > /dev/null 2> /dev/null
checking for gcc option to accept ANSI C...
checking whether to use RAID... no
checking for getconf... getconf
checking for CFLAGS value to request large file support... -D_FILE_OFFSET_BITS=64
checking for LDFLAGS value to request large file support...
checking for LIBS value to request large file support...
checking for _FILE_OFFSET_BITS... 64
checking for _LARGEFILE_SOURCE... no
checking for _LARGE_FILES... no
checking for ANSI C header files... yes
checking for size_t... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for float.h... yes
checking for floatingpoint.h... no
checking for ieeefp.h... no
checking for limits.h... yes
checking for memory.h... yes
checking for pwd.h... yes
checking for select.h... no
checking for stdlib.h... yes
checking for stddef.h... yes
checking for strings.h... yes
checking for string.h... yes
checking for synch.h... no
checking for sys/mman.h... yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for arpa/inet.h... yes
checking for sys/timeb.h... yes
checking for sys/types.h... yes
checking for sys/un.h... yes
checking for sys/vadvise.h... no
checking for sys/wait.h... (cached) yes
checking for term.h... no
checking for unistd.h... yes
checking for utime.h... yes
checking for sys/utime.h... no
checking for termio.h... yes
checking for termios.h... yes
checking for sched.h... yes
checking for crypt.h... yes
checking for alloca.h... yes
checking for sys/ioctl.h... yes
checking for floor in -lm... yes
checking for gethostbyname_r... yes
checking for setsockopt... yes
checking for yp_get_default_domain... no
checking for yp_get_default_domain in -lnsl... yes
checking for p2open... no
checking for p2open in -lgen... no
checking for bind... yes
checking for crypt in -lcrypt... yes
checking for crypt... yes
checking if libz with compress... no
checking for atomic operations... atomic_add atomic_sub
checking for int8... no
checking LinuxThreads... Found
checking named thread libs:... -lpthread
checking for strtok_r in -lpthread... yes
checking for strtok_r... yes
checking for dlopen in -ldl... yes
checking for restartable system calls... yes
checking need of special linking flags... -rdynamic
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for st_rdev in struct stat... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of char... 1
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of off_t... 8
checking whether byte ordering is bigendian... no
checking base type of last arg to accept... socklen_t
checking stack direction for C alloca... -1
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking if struct timespec has a ts_sec member... no
checking if we have tzname variable... yes
checking for type ulong... yes
checking for type uchar... no
checking for type uint... yes
checking for type fp_except... no
checking if c++ supports bool types... yes
checking if conversion of longlong to float works... yes
checking if pthread_yield takes zero arguments... yes
checking if pthread_yield takes 1 argument... no
checking for varargs.h... yes
checking for stdarg.h... yes
checking for dirent.h... yes
checking for locale.h... yes
checking for ndir.h... no
checking for sys/dir.h... yes
checking for sys/file.h... yes
checking for sys/ndir.h... no
checking for sys/ptem.h... no
checking for sys/pte.h... no
checking for sys/select.h... yes
checking for sys/stream.h... no
checking for sys/mman.h... (cached) yes
checking for curses.h... no
checking for termcap.h... no
checking for termio.h... (cached) yes
checking for termbits.h... no
checking for asm/termbits.h... yes
checking for grp.h... yes
checking for paths.h... yes
checking for lstat... yes
checking for putenv... yes
checking for select... yes
checking for setenv... yes
checking for setlocale... yes
checking for strcoll... yes
checking for tcgetattr... yes
checking whether stat file-mode macros are broken... no
checking return type of signal handlers... void
checking for type of signal functions... posix
checking whether programs are able to redeclare getpw functions... yes
checking for TIOCGWINSZ in sys/ioctl.h... yes
checking for FIONREAD in sys/ioctl.h... yes
checking for TIOCSTAT in sys/ioctl.h... no
checking if struct dirent has a d_ino member... yes
checking whether signal handlers are of type void... yes
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for termcap functions library... configure: error: No curses/termcap library found

I,ve checked the bottom line and I have termcap installed?????
 
Old 07-15-2001, 01:19 PM   #3
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
I probably can't be of too much help here, but a couple of simple things to check:
Quote:
make: *** No targets specified and no makefile found.
Verify that a file named "Makefile" or "makefile" really exists in your working directory.

Quote:
I've checked the bottom line and I have termcap installed?????
The output you posted indicates missing header files, including the following two:
Code:
checking for curses.h... no
checking for termcap.h... no
Do a find for these specific files to make sure they exist on you system.
 
Old 07-15-2001, 05:07 PM   #4
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
Hi there thx for input.

Ok so I did a search for the curses and termcap files and found something interesting.

I had 2 occurences of the curses file and only 1 occurence of the termcap file , as follows.....

curses.h /usr/include/ncurses
curses.h /usr/include

termcap.h /usr/include/ncurses

Solution...........

I copied and pasted the missing termcap.h into /usr/include and it worked first time.

The reason for this is a mystery to me, if anybody knows then plz let me know.

Thx for the help

cheers...
 
Old 07-15-2001, 05:38 PM   #5
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Good job RecoilUK!

Just a guess, but I'll bet it had something to do with pathing expectations in the configure process. That is, /usr/include was specified as a search path, but /usr/include/ncurses was not, and so the copy of termcap.h residing there was not found. As to why a copy of the file wasn't residing in /usr/include (I believe it should be), hm...

Last edited by DMR; 07-15-2001 at 05:44 PM.
 
Old 07-15-2001, 06:12 PM   #6
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
And now i,m going to try to install php4

This should be fun lol
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Triple boot advice needed plz. mortal Slackware 2 11-26-2005 04:27 PM
plz plz help me regarding route mapping nedian123 Programming 1 07-13-2004 08:17 AM
plz plz solve my route mapping problem nedian123 Linux - Networking 1 07-12-2004 09:41 PM
Red Hat 7 Help/Tips needed plz LX_NewBie Linux - Newbie 4 02-08-2002 07:35 AM
Apache HTDOCS help needed plz RecoilUK Linux - General 7 07-16-2001 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:37 AM.

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