[已解决][问题]请教如何安装pidgin2.4.2?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
jerrroy
帖子: 65
注册时间: 2008-05-30 14:11

[已解决][问题]请教如何安装pidgin2.4.2?

#1

帖子 jerrroy » 2008-06-11 14:42

我在官方主页下载了2.4.2的source版本,pidgin-2.4.2.tar.bz2,extract后,sudo make install没有反应。。。。
请问大虾如何安装呢?

apt只能找到2.4.1版本。。。。。。。。。
上次由 jerrroy 在 2008-06-12 10:19,总共编辑 1 次。
jerrroy
帖子: 65
注册时间: 2008-05-30 14:11

#2

帖子 jerrroy » 2008-06-11 16:40

各位装过得大大没有用2.4.2版本的吗?
凌晨
帖子: 29
注册时间: 2007-05-28 17:34

#3

帖子 凌晨 » 2008-06-11 16:55

包里一般都有README,里面会有安装说明
jerrroy
帖子: 65
注册时间: 2008-05-30 14:11

#4

帖子 jerrroy » 2008-06-11 17:12

安装说明:Basic Installation
==================

These are generic installation instructions.

The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').

If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If at some point `config.cache'
contains results you don't want to keep, you may remove or edit it.

The file `configure.ac' is used to create `configure' by a program
called `autoconf'. You only need `configure.ac' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.

The simplest way to compile this package is:

1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.

Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for. If it finishes
successfully, it will print out of a summary of the build options.
This summary will also appear in the help->about dialog.

2. Type `make' to compile the package. On some systems, you may need
to use `gmake' instead.

3. Optionally, type `make check' to run any self-tests that come with
the package.

4. Type `make install' to install the programs and any data files and
documentation. You must have write access to the prefix you are
installing to. See below for more details on the prefix.

5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.

6. If you have *not* run make distclean, you can use the target
`make uninstall` to remove the files installed by `make install`.

Compilers and Options
=====================

Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables by setting them in the environment. Using
a Bourne-compatible shell, you can do that on the command line like
this:
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure

Or on systems that have the `env' program, you can do it like this:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure

Compiling For Multiple Architectures
====================================

You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you must use a version of `make' that
supports the `VPATH' variable, such as GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.

If you have to use a `make' that does not supports the `VPATH'
variable, you have to compile the package for one architecture at a time
in the source code directory. After you have installed the package for
one architecture, use `make distclean' before reconfiguring for another
architecture.

Installation Names
==================

By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.

You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
give `configure' the option `--exec-prefix=PATH', the package will use
PATH as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.

In addition, if you use an unusual directory layout you can give
options like `--bindir=PATH' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
you can set and what kinds of files go in them.

If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.

Optional Features
=================

Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.

For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.

By default both the GTK+ UI (Pidgin) and the ncurses UI (Finch) will be
built, assuming that configure finds the necessary libraries and headers for
each. You can disable the GTK+ UI with `--disable-gtkui' and the ncurses UI
with `--disable-consoleui'.

`--disable-screensaver' will build libpurple without support for detecting
when it should mark accounts idle based on mouse or keyboard usage.

`--disable-sm' will build without support for the X session management.
Doing so will remove the ability to have pidgin start up with your window
manager.

`--disable-gtkspell' will remove the ability to highlight misspelled words.

`--disable-gevolution' will cause the evolution integration plugin not to
compile.

`--disable-gstreamer' will build without sound support. This applies to
*both* Pidgin and Finch.

`--enable-gnutls=yes,no' will enable or disable the use of gnutls for ssl support. Disabling both gnutls and nss will mean you cannot use either MSN or Google Talk. There is no static option for gnutls at this time.

`--enable-nss=yes,no,static' will enable or disable the use of nss for ssl support. This is the only option for ssl support if you are attempting to compile a static version of Pidgin or Finch.

Optional Packages:

`--with-silc-includes=DIR' and `--with-silc-libs=DIR' can be used if your silc libraries are installed to a location not in your path.

`--with-static-prpls' takes a list of comma separated protocols to build in statically (rather than as plugins). Use this with care.

`--with-dynamic-prpls' takes a list of comma separated protocols also. If used only those listed will be built. If no protocols are listed with either `--with-static-prpls' or with `--with-dynamic-prpls' then Pidgin and Finch will be effectively useless.

If configure does not find python, it will build without DBUS support. Thiswill disable scripts such as purple-remote and purple-uri-handler, effectively disabling integration with the browser. You can tell configure where your python binary is located with `--with-python=PATH'

Specifying the System Type
==========================

There may be some features `configure' can not figure out
automatically, but needs to determine by the type of host the package
will run on. Usually `configure' can figure that out, but if it prints
a message saying it can not guess the host type, give it the
`--host=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name with three fields:
CPU-COMPANY-SYSTEM

See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the host type.

If you are building compiler tools for cross-compiling, you can also
use the `--target=TYPE' option to select the type of system they will
produce code for and the `--build=TYPE' option to select the type of
system on which you are compiling the package.

Sharing Defaults
================

If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.

Operation Controls
==================

`configure' recognizes the following options to control how it
operates.

`--cache-file=FILE'
Use and save the results of the tests in FILE instead of
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
debugging `configure'.

`--help'
Print a summary of the options to `configure', and exit.

`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made. To
suppress all normal output, redirect it to `/dev/null' (any error
messages will still be shown).

`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.

`--version'
Print the version of Autoconf used to generate the `configure'
script, and exit.

`configure' also accepts some other, not widely useful, options. Many of these are related to having various optional libaries installed to locations outside of your path.
jerrroy
帖子: 65
注册时间: 2008-05-30 14:11

#5

帖子 jerrroy » 2008-06-11 17:12

可是make install没有用阿
凌晨
帖子: 29
注册时间: 2007-05-28 17:34

#6

帖子 凌晨 » 2008-06-11 17:16

./configure
make
make install
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

#7

帖子 HuntXu » 2008-06-11 17:26

凌晨 写了:./configure
make
make install
第三句要sudo~仔细看文档...里面是有的...
HUNT Unfortunately No Talent...
jerrroy
帖子: 65
注册时间: 2008-05-30 14:11

#8

帖子 jerrroy » 2008-06-11 17:46

phenix@phenix:~/Desktop/pidgin-2.4.2$ make
make: *** No targets specified and no makefile found. Stop.
phenix@phenix:~/Desktop/pidgin-2.4.2$ sudo make install
[sudo] password for phenix:
make: *** No rule to make target `install'. Stop.
phenix@phenix:~/Desktop/pidgin-2.4.2$
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

#9

帖子 HuntXu » 2008-06-11 17:47

configure做了吗?确定没出错吗?乖乖用apt吧...
HUNT Unfortunately No Talent...
jerrroy
帖子: 65
注册时间: 2008-05-30 14:11

#10

帖子 jerrroy » 2008-06-11 17:49

phenix@phenix:~/Desktop/pidgin-2.4.2$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for sed... /bin/sed
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.
看来configure出错了。。。。。。。。。。。。。。。。。
jerrroy
帖子: 65
注册时间: 2008-05-30 14:11

#11

帖子 jerrroy » 2008-06-11 17:51

$ ./configure

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

hostname = phenix
uname -m = x86_64
uname -r = 2.6.24-18-generic
uname -s = Linux
uname -v = #1 SMP Wed May 28 19:28:38 UTC 2008

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

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/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/games


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

configure:2423: checking build system type
configure:2441: result: x86_64-unknown-linux-gnu
configure:2463: checking host system type
configure:2478: result: x86_64-unknown-linux-gnu
configure:2500: checking target system type
configure:2515: result: x86_64-unknown-linux-gnu
configure:2560: checking for a BSD-compatible install
configure:2616: result: /usr/bin/install -c
configure:2627: checking whether build environment is sane
configure:2670: result: yes
configure:2698: checking for a thread-safe mkdir -p
configure:2737: result: /bin/mkdir -p
configure:2750: checking for gawk
configure:2780: result: no
configure:2750: checking for mawk
configure:2766: found /usr/bin/mawk
configure:2777: result: mawk
configure:2788: checking whether make sets $(MAKE)
configure:2809: result: yes
configure:3025: checking for sed
configure:3043: found /bin/sed
configure:3055: result: /bin/sed
configure:3118: checking for gcc
configure:3134: found /usr/bin/gcc
configure:3145: result: gcc
configure:3383: checking for C compiler version
configure:3390: gcc --version >&5
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Copyright (C) 2007 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:3393: $? = 0
configure:3400: gcc -v >&5
Using built-in specs.
Target: x86_64-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.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
configure:3403: $? = 0
configure:3410: gcc -V >&5
gcc: '-V' option must have argument
configure:3413: $? = 1
configure:3436: checking for C compiler default output file name
configure:3463: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3466: $? = 1
configure:3504: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "pidgin"
| #define PACKAGE_TARNAME "pidgin"
| #define PACKAGE_VERSION "2.4.2"
| #define PACKAGE_STRING "pidgin 2.4.2"
| #define PACKAGE_BUGREPORT "devel@pidgin.im"
| #define PACKAGE "pidgin"
| #define VERSION "2.4.2"
| #define CONFIG_ARGS ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3511: error: C compiler cannot create executables
See `config.log' for more details.
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

#12

帖子 HuntXu » 2008-06-11 17:51

jerrroy 写了:phenix@phenix:~/Desktop/pidgin-2.4.2$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for sed... /bin/sed
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.
看来configure出错了。。。。。。。。。。。。。。。。。

代码: 全选

sudo apt-get build-dep pidgin
如果源里的pidgin后面带版本号自己apt-cache search,装上依赖后再configure...

看不懂去教学区搜apt的用法...
HUNT Unfortunately No Talent...
jerrroy
帖子: 65
注册时间: 2008-05-30 14:11

#13

帖子 jerrroy » 2008-06-11 17:52

上面是configure的log文件,请各位大虾帮忙看一下哪里出错了,谢谢 :D
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

#14

帖子 HuntXu » 2008-06-11 17:55

不用看的,configure出错除严重rpwt外全是依赖不足...

照12楼的方法做一次...
HUNT Unfortunately No Talent...
jerrroy
帖子: 65
注册时间: 2008-05-30 14:11

#15

帖子 jerrroy » 2008-06-11 17:56

thanks huntxu,
phenix@phenix:~$ sudo apt-cache search pidgin
nautilus-sendto - integrates Evolution and Pidgin into the Nautilus file manager
pidgin - graphical multi-protocol instant messaging client for X
pidgin-data - multi-protocol instant messaging client - data files
pidgin-dbg - Debugging symbols for Pidgin
pidgin-dev - multi-protocol instant messaging client - development files
pidgin-otr - Off-the-Record Messaging plugin for pidgin
beagle - indexing and search tool for your personal data
beagle-backend-evolution - evolution data backend for beagle
beagle-dev - library for accessing beagle (C# development files)
festival-gaim - gaim plugin to hear incoming messages using voice synthesis
gaim - transitional package to Pidgin
gaim-extendedprefs - plugin for the instant messenger pidgin (transitional package)
gaim-guifications - transitional package to pidgin-guifications
gaim-hotkeys - Configurable global hotkeys for pidgin
gaim-irchelper - IRC extensions for Pidgin (dummy transitional package)
gaim-libnotify - display notification bubbles in pidgin
gaim-thinklight - Transitional package to pidgin-thinklight
gnome-do - Quickly perform actions on your desktop
gnome-do-plugins - Extra functionality for GNOME-Do launcher
mozilla-beagle - Beagle extension for Firefox
pidgin-audacious - pidgin integration with Audacious
pidgin-blinklight - Blinks your ThinkPad's ThinkLight upon new messgaes
pidgin-encryption - pidgin plugin that provides transparent encryption
pidgin-extprefs - extended preferences plugin for the instant messenger pidgin
pidgin-festival - pidgin plugin to hear incoming messages using voice synthesis
pidgin-guifications - toaster popups for pidgin
pidgin-hotkeys - Configurable global hotkeys for pidgin
pidgin-libnotify - display notification bubbles in pidgin
pidgin-librvp - MS Exchange RVP instant messaging plugin for Pidgin
pidgin-mpris - sets your available message to your currently playing track
pidgin-musictracker - Plugin for Pidgin which displays the current music track in your status
pidgin-plugin-pack - 30 useful plugins for pidgin
pidgin-sipe - Pidgin plugin for connect to LCS
pidgin-themes - Smiley themes collection for pidgin
recoll - A personal full text search package with a QT GUI
telepathy-haze - A telepathy connection manager that use libpurple
thunderbird-beagle - Beagle extension for Thunderbird
tork - anonymity manager for KDE

这些都是search出来的,请问都要装上马?
回复