Help plz.I got errors when building src

Allan Clark allanc at chickenandporn.com
Fri Jan 20 01:01:20 EST 2012


On Tue, Nov 29, 2011 at 18:01, Daniel Atallah <daniel.atallah at gmail.com>wrote:

> 2011/11/29 Xiao Wen <swuwenxiao at gmail.com>:
> >     I'm a IM developer in China.When I built the soure files of Pidgin
> > following the URL-http://developer.pidgin.im/wiki/BuildingWinPidgin, it
> > suggested me such errors. Could you give me any tips?Thanks.
> >
> > $ make -f Makefile.mingw install
> > (cd . && mtn --root=. automate get_base_revision_id) 2>/dev/null
> >>package_revisi
> > on_raw.txt \
> >         || rm -f package_revision_raw.txt
> > if [ -f package_revision_raw.txt ]; then \
> >                 sed 's/^\(.\{1,\}\)$/#define REVISION "\1"/'
> > package_revision_ra
> > w.txt > package_revision.h; \
> >         fi
> > [ -f package_revision.h ] || echo "#define REVISION \"unknown\"" >
> > package_revis
> > ion.h
> > make -C ./libpurple -f Makefile.mingw
> > make[1]: Entering directory `/pidgin-devel/pidgin-2.7.11/libpurple'
> > gcc.exe -O2 -Wall -Waggregate-return -Wcast-align
> > -Wdeclaration-after-statement
> > -Werror-implicit-function-declaration -Wextra -Wno-sign-compare
> > -Wno-unused-para
> > meter -Winit-self -Wmissing-declarations -Wmissing-prototypes
> > -Wnested-externs -
> > Wpointer-arith -Wundef -pipe -mno-cygwin -mms-bitfields -g
> -DHAVE_CYRUS_SASL
> > -DH
> > AVE_CONFIG_H -DWIN32_LEAN_AND_MEAN -I../libpurple -I../libpurple/win32
> -I..
> > -I..
> > /../win32-dev/gtk_2_0-2.14/include
> > -I../../win32-dev/gtk_2_0-2.14/include/glib-2
> > .0 -I../../win32-dev/gtk_2_0-2.14/lib/glib-2.0/include
> > -I../../win32-dev/libxml2
> > -2.7.4/include/libxml2 -o account.o -c account.c
> > make[1]: *** [account.o] Error 1
> > make[1]: Leaving directory `/pidgin-devel/pidgin-2.7.11/libpurple'
> > make: *** [all] Error 2
>
>
> It looks like there's something wrong with your gcc installation -
> there doesn't appear to be a specific error message shown, but the gcc
> process is returning 1, indicating failure.
>

I was looking also at the part he highlighted:

> make[4]: Entering directory
`/pidgin-devel/pidgin-2.10.0/libpurple/plugins'
> Making all in perl
> make[5]: Entering directory
`/pidgin-devel/pidgin-2.10.0/libpurple/plugins/perl'
>   CC     perl.lo
> mv: cannot stat `.deps/perl.Tpo': No such file or directory
> make[5]: *** [perl.lo] Error 1
> make[5]: Leaving directory
`/pidgin-devel/pidgin-2.10.0/libpurple/plugins/perl'
> make[4]: *** [all-recursive] Error 1

Failure's on the "mv" command, perhaps (not being flippant, it might be a
misleading error output).

.deps is not a typically Windows-accepted directory, but maybe it's finally
compatible... assuming this is a windows build.

I think .deps/<thing>.Tpo tends to be a dependency file that's created by
the toolchain as it builds an object file.

Try:
1) configuring out the perl plugin
2) creating an empty per/.deps/perl.Tpo file to copy into perl.po
3) a clean build (i.e. there might be some process that works before this
that was interrupted)
4) see why the .Tpo isn't being created -- is it possible that your
Makefile is made for UNIX/Linux?  Not ported?

Allan

-- 
allanc at chickenandporn.com  "金鱼" http://linkedin.com/in/goldfish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20120119/e0041f61/attachment-0002.html>


More information about the Devel mailing list