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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-15-2001, 01:25 PM
|
#1
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Rep:
|
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.
|
|
|
07-15-2001, 01:28 PM
|
#2
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Original Poster
Rep:
|
[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?????
|
|
|
07-15-2001, 02:19 PM
|
#3
|
Member
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986
Rep:
|
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.
|
|
|
07-15-2001, 06:07 PM
|
#4
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Original Poster
Rep:
|
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...
|
|
|
07-15-2001, 06:38 PM
|
#5
|
Member
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986
Rep:
|
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 06:44 PM.
|
|
|
07-15-2001, 07:12 PM
|
#6
|
Member
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270
Original Poster
Rep:
|
And now i,m going to try to install php4
This should be fun lol
|
|
|
All times are GMT -5. The time now is 01:30 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|