Jump to content

make


Recommended Posts

allways when I try to install something (no rpm), I do exactly what in the manuals is written.

So (as root):

tar -xzvf filename.tar.gz

cd to folder

./configure (till there, everything is ok)

make and then it says: no target specified and no makefile found. Stop.

 

I don't know how to fix this, so maybe someone can help.

 

Here is the exact outprint when installing giFT:

 

[root@localhost giFT]# tar -xzvf gift-0.11.8.1.tar.gz

gift-gnutella-0.0.10/

gift-gnutella-0.0.10/README

gift-gnutella-0.0.10/Makefile.in

gift-gnutella-0.0.10/configure

gift-gnutella-0.0.10/AUTHORS

gift-gnutella-0.0.10/COPYING

gift-gnutella-0.0.10/ChangeLog

gift-gnutella-0.0.10/INSTALL

gift-gnutella-0.0.10/Makefile.am

gift-gnutella-0.0.10/NEWS

gift-gnutella-0.0.10/TODO

gift-gnutella-0.0.10/aclocal.m4

gift-gnutella-0.0.10/config.guess

gift-gnutella-0.0.10/config.h.in

gift-gnutella-0.0.10/config.sub

gift-gnutella-0.0.10/configure.ac

gift-gnutella-0.0.10/depcomp

gift-gnutella-0.0.10/gnutella.spec.in

gift-gnutella-0.0.10/install-sh

gift-gnutella-0.0.10/ltmain.sh

gift-gnutella-0.0.10/missing

gift-gnutella-0.0.10/mkinstalldirs

gift-gnutella-0.0.10/gnutella.spec

gift-gnutella-0.0.10/autogen.sh

gift-gnutella-0.0.10/Makefile.msvc

gift-gnutella-0.0.10/Make.msvc

gift-gnutella-0.0.10/m4/

gift-gnutella-0.0.10/m4/Makefile.in

gift-gnutella-0.0.10/m4/Makefile.am

gift-gnutella-0.0.10/m4/gift-pkgconfig.m4

gift-gnutella-0.0.10/m4/gift-prefix.m4

gift-gnutella-0.0.10/m4/libxml.m4

gift-gnutella-0.0.10/m4/openbsd.m4

gift-gnutella-0.0.10/m4/zlib.m4

gift-gnutella-0.0.10/data/

gift-gnutella-0.0.10/data/Makefile.in

gift-gnutella-0.0.10/data/Makefile.am

gift-gnutella-0.0.10/data/gwebcaches

gift-gnutella-0.0.10/data/hostiles.txt

gift-gnutella-0.0.10/data/Gnutella.conf.template

gift-gnutella-0.0.10/data/Gnutella.conf

gift-gnutella-0.0.10/src/

gift-gnutella-0.0.10/src/Makefile.in

gift-gnutella-0.0.10/src/Makefile.am

gift-gnutella-0.0.10/src/dns.c

gift-gnutella-0.0.10/src/dns.h

gift-gnutella-0.0.10/src/file_cache.c

gift-gnutella-0.0.10/src/file_cache.h

gift-gnutella-0.0.10/src/gt_accept.c

gift-gnutella-0.0.10/src/gt_accept.h

gift-gnutella-0.0.10/src/gt_ban.c

gift-gnutella-0.0.10/src/gt_ban.h

gift-gnutella-0.0.10/src/gt_bind.c

gift-gnutella-0.0.10/src/gt_bind.h

gift-gnutella-0.0.10/src/gt_conf.c

gift-gnutella-0.0.10/src/gt_conf.h

gift-gnutella-0.0.10/src/gt_connect.c

gift-gnutella-0.0.10/src/gt_connect.h

gift-gnutella-0.0.10/src/gt_gnutella.c

gift-gnutella-0.0.10/src/gt_gnutella.h

gift-gnutella-0.0.10/src/gt_guid.c

gift-gnutella-0.0.10/src/gt_guid.h

gift-gnutella-0.0.10/src/gt_http_client.c

gift-gnutella-0.0.10/src/gt_http_client.h

gift-gnutella-0.0.10/src/gt_http_server.c

gift-gnutella-0.0.10/src/gt_http_server.h

gift-gnutella-0.0.10/src/gt_netorg.c

gift-gnutella-0.0.10/src/gt_netorg.h

gift-gnutella-0.0.10/src/gt_node_cache.c

gift-gnutella-0.0.10/src/gt_node_cache.h

gift-gnutella-0.0.10/src/gt_node.c

gift-gnutella-0.0.10/src/gt_node.h

gift-gnutella-0.0.10/src/gt_node_list.c

gift-gnutella-0.0.10/src/gt_node_list.h

gift-gnutella-0.0.10/src/gt_packet.c

gift-gnutella-0.0.10/src/gt_packet.h

gift-gnutella-0.0.10/src/gt_query_route.c

gift-gnutella-0.0.10/src/gt_query_route.h

gift-gnutella-0.0.10/src/gt_search.c

gift-gnutella-0.0.10/src/gt_search.h

gift-gnutella-0.0.10/src/gt_search_exec.c

gift-gnutella-0.0.10/src/gt_search_exec.h

gift-gnutella-0.0.10/src/gt_share.c

gift-gnutella-0.0.10/src/gt_share.h

gift-gnutella-0.0.10/src/gt_share_file.c

gift-gnutella-0.0.10/src/gt_share_file.h

gift-gnutella-0.0.10/src/gt_share_state.c

gift-gnutella-0.0.10/src/gt_share_state.h

gift-gnutella-0.0.10/src/gt_stats.c

gift-gnutella-0.0.10/src/gt_stats.h

gift-gnutella-0.0.10/src/gt_urn.c

gift-gnutella-0.0.10/src/gt_urn.h

gift-gnutella-0.0.10/src/gt_utils.c

gift-gnutella-0.0.10/src/gt_utils.h

gift-gnutella-0.0.10/src/gt_version.c

gift-gnutella-0.0.10/src/gt_version.h

gift-gnutella-0.0.10/src/gt_web_cache.c

gift-gnutella-0.0.10/src/gt_web_cache.h

gift-gnutella-0.0.10/src/gt_xfer.c

gift-gnutella-0.0.10/src/gt_xfer.h

gift-gnutella-0.0.10/src/gt_xfer_obj.c

gift-gnutella-0.0.10/src/gt_xfer_obj.h

gift-gnutella-0.0.10/src/http_request.c

gift-gnutella-0.0.10/src/http_request.h

gift-gnutella-0.0.10/src/sha1.c

gift-gnutella-0.0.10/src/sha1.h

gift-gnutella-0.0.10/src/trie.c

gift-gnutella-0.0.10/src/trie.h

gift-gnutella-0.0.10/src/xml.c

gift-gnutella-0.0.10/src/xml.h

gift-gnutella-0.0.10/src/Makefile.msvc

gift-gnutella-0.0.10/src/encoding/

gift-gnutella-0.0.10/src/encoding/Makefile.in

gift-gnutella-0.0.10/src/encoding/Makefile.am

gift-gnutella-0.0.10/src/encoding/base32.c

gift-gnutella-0.0.10/src/encoding/base32.h

gift-gnutella-0.0.10/src/encoding/url.c

gift-gnutella-0.0.10/src/encoding/url.h

gift-gnutella-0.0.10/src/io/

gift-gnutella-0.0.10/src/io/Makefile.in

gift-gnutella-0.0.10/src/io/Makefile.am

gift-gnutella-0.0.10/src/io/io_buf.c

gift-gnutella-0.0.10/src/io/io_buf.h

gift-gnutella-0.0.10/src/io/rx_inflate.c

gift-gnutella-0.0.10/src/io/rx_inflate.h

gift-gnutella-0.0.10/src/io/rx_layer.c

gift-gnutella-0.0.10/src/io/rx_layer.h

gift-gnutella-0.0.10/src/io/rx_link.c

gift-gnutella-0.0.10/src/io/rx_link.h

gift-gnutella-0.0.10/src/io/rx_packet.c

gift-gnutella-0.0.10/src/io/rx_packet.h

gift-gnutella-0.0.10/src/io/rx_stack.c

gift-gnutella-0.0.10/src/io/rx_stack.h

gift-gnutella-0.0.10/src/io/tx_layer.c

gift-gnutella-0.0.10/src/io/tx_layer.h

gift-gnutella-0.0.10/src/io/tx_link.c

gift-gnutella-0.0.10/src/io/tx_link.h

gift-gnutella-0.0.10/src/io/tx_deflate.c

gift-gnutella-0.0.10/src/io/tx_packet.c

gift-gnutella-0.0.10/src/io/tx_stack.c

gift-gnutella-0.0.10/src/io/tx_stack.h

gift-gnutella-0.0.10/src/message/

gift-gnutella-0.0.10/src/message/Makefile.in

gift-gnutella-0.0.10/src/message/Makefile.am

gift-gnutella-0.0.10/src/message/bye.c

gift-gnutella-0.0.10/src/message/gt_message.c

gift-gnutella-0.0.10/src/message/gt_message.h

gift-gnutella-0.0.10/src/message/msg_handler.h

gift-gnutella-0.0.10/src/message/ping.c

gift-gnutella-0.0.10/src/message/ping_reply.c

gift-gnutella-0.0.10/src/message/push.c

gift-gnutella-0.0.10/src/message/query.c

gift-gnutella-0.0.10/src/message/query_reply.c

gift-gnutella-0.0.10/src/message/query_route.c

gift-gnutella-0.0.10/src/message/vendor.c

gift-gnutella-0.0.10/src/transfer/

gift-gnutella-0.0.10/src/transfer/Makefile.in

gift-gnutella-0.0.10/src/transfer/Makefile.am

gift-gnutella-0.0.10/src/transfer/download.c

gift-gnutella-0.0.10/src/transfer/download.h

gift-gnutella-0.0.10/src/transfer/push_proxy.c

gift-gnutella-0.0.10/src/transfer/push_proxy.h

gift-gnutella-0.0.10/src/transfer/source.c

gift-gnutella-0.0.10/src/transfer/source.h

[root@localhost giFT]# cd g

gift-0.11.8.1.tar.bz2    gift-ares-0.2.1.tar.bz2  gift-gnutella-0.0.10

gift-0.11.8.1.tar.gz     gift-ares-0.2.1.tar.gz

[root@localhost giFT]# cd gift-gnutella-0.0.10/

[root@localhost gift-gnutella-0.0.10]# ./config

bash: ./config: No such file or directory

[root@localhost gift-gnutella-0.0.10]# ./configure

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking for gcc... gcc

checking for C compiler default output file name... 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 gcc option to accept ANSI C... none needed

checking for style of include used by make... GNU

checking dependency style of gcc... gcc3

checking for gcc option to accept ANSI C... none needed

checking how to run the C preprocessor... gcc -E

checking for egrep... grep -E

checking for ANSI C header files... yes

checking for a BSD-compatible install... /usr/bin/install -c

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking for a sed that does not truncate output... /bin/sed

checking for ld used by gcc... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking for /usr/bin/ld option to reload object files... -r

checking for BSD-compatible nm... /usr/bin/nm -B

checking whether ln -s works... yes

checking how to recognise dependent libraries... pass_all

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 dlfcn.h usability... yes

checking dlfcn.h presence... yes

checking for dlfcn.h... yes

checking for g++... g++

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking dependency style of g++... gcc3

checking how to run the C++ preprocessor... g++ -E

checking for g77... no

checking for f77... no

checking for xlf... no

checking for frt... no

checking for pgf77... no

checking for fort77... no

checking for fl32... no

checking for af77... no

checking for f90... no

checking for xlf90... no

checking for pgf90... no

checking for epcf90... no

checking for f95... no

checking for fort... no

checking for xlf95... no

checking for ifc... no

checking for efc... no

checking for pgf95... no

checking for lf95... no

checking for gfortran... no

checking whether we are using the GNU Fortran 77 compiler... no

checking whether  accepts -g... no

checking the maximum length of command line arguments... 32768

checking command to parse /usr/bin/nm -B output from gcc object... ok

checking for objdir... .libs

checking for ar... ar

checking for ranlib... ranlib

checking for strip... strip

checking if gcc static flag  works... yes

checking if gcc supports -fno-rtti -fno-exceptions... 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 whether the gcc linker (/usr/bin/ld) supports shared libraries... yes

checking whether -lc should be explicitly linked in... no

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

configure: creating libtool

appending configuration tag "CXX" to libtool

checking for ld used by g++... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes

checking for g++ option to produce PIC... -fPIC

checking if g++ PIC flag -fPIC works... yes

checking if g++ supports -c -o file.o... yes

checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

appending configuration tag "F77" to libtool

checking for pkg-config... /usr/bin/pkg-config

checking for libgift >= 0.11.4 libgift < 0.12.0... Package libgift was not found in the pkg-config search path.

Perhaps you should add the directory containing `libgift.pc'

to the PKG_CONFIG_PATH environment variable

No package 'libgift' found

 

configure: error: Library requirements (libgift >= 0.11.4 libgift < 0.12.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

[root@localhost gift-gnutella-0.0.10]# make

make: *** Geen doelen gespecificeerd en geen makefile gevonden.  Stop.

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

Mandrake uses urpmi to install software (see the faqs, gift is in plf) so do urpmi gift.

 

./configure and make should not be run as root but as normal user. Only make install should be done as root.

 

Now (finally :D ) your problem: ./configure gives an error.

checking for libgift >= 0.11.4 libgift < 0.12.0... Package libgift was not found in the pkg-config search path

.

You're trying to install a program (gift-gnutella) that depends on gift (gift is the deamon that connects to the fasttrack network. Gift gnutella is the client). You should first install gift and then gift-gnutella.

 

Mandrake makes installing easy with urpmi. If I remember correctly Apollon (another client) is in PLF so you can just type (as root): urpmi appolon and gift will be installed with the client. Perhaps gift-gnutella is also available in the repositories and you can give: urpmu gift-gnutella.

 

Good luck.

Link to comment
Share on other sites

Add a plf source to your urpmi sources using the link at the top of the page here MUB_Easy_Urpmi Then just

 

urpmi gift-gnutella as suggested. Much easier.

 

I installed GTK-gnutella instead of giFT.

This works, but now I still have the make problem.

The gift installation was only an example, but whatever I install, it never recognizes the make command.

Link to comment
Share on other sites

look at the last few lines in your post, you have a missing package called "libgift". it's probably best to install "libgift" from rpm.

 

for example, if you try to install a graphics program, it will need "libjpeg" (JPEG library) or "libpng" (PNG library), otherwise it will probably give a make error. That problem is solved by using urpmi, which automatically installs any dependencies. installing libgift.rpm is easier than installing a library from source. :)

Link to comment
Share on other sites

look at the last few lines in your post, you have a missing package called "libgift". it's probably best to install "libgift" from rpm.

 

for example, if you try to install a graphics program, it will need "libjpeg" (JPEG library) or "libpng" (PNG library), otherwise it will probably give a make error. That problem is solved by using urpmi, which automatically installs any dependencies. installing libgift.rpm is easier than installing a library from source. :)

 

ok tanx.

It works now.

So what have we learned?

after ./configure, look what's missing, and type:

urpmi missing library

 

cheers guys

:dance:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...