hi,
jerry@linux[bin] sudo pip install -U
mwlib.rl                                                 [ 2:22]
Downloading/unpacking mwlib.rl
  Running setup.py egg_info for package mwlib.rl
Downloading/unpacking mwlib>=0.12.14,<0.14 (from mwlib.rl)
  Running setup.py egg_info for package mwlib
    USING: mwlib.templ.nodes mwlib/templ/nodes.c
    USING: mwlib.templ.evaluate mwlib/templ/evaluate.c
    warning: no files found matching 'README.html'
    warning: no files found matching 'docs/commands.html'
    warning: no files found matching 'docs/configfiles.html'
    warning: no files found matching 'docs/metabook.html'
    warning: no files found matching 'docs/writers.html'
Downloading/unpacking pygments>=1.0 (from mwlib.rl)
  Running setup.py egg_info for package pygments
Downloading/unpacking mwlib.ext>=0.9.3,<0.14 (from mwlib.rl)
  Running setup.py egg_info for package mwlib.ext
Downloading/unpacking pyparsing>=1.4.11 (from mwlib>=0.12.14,<0.14-
>mwlib.rl)
  Running setup.py egg_info for package pyparsing
Downloading/unpacking odfpy>=0.9,<0.10 (from mwlib>=0.12.14,<0.14-
>mwlib.rl)
  Running setup.py egg_info for package odfpy
Downloading/unpacking gevent (from mwlib>=0.12.14,<0.14->mwlib.rl)
  Running setup.py egg_info for package gevent
Downloading/unpacking timelib>=0.2 (from mwlib>=0.12.14,<0.14-
>mwlib.rl)
  Running setup.py egg_info for package timelib
Downloading/unpacking bottle>=0.10 (from mwlib>=0.12.14,<0.14-
>mwlib.rl)
  Running setup.py egg_info for package bottle
Downloading/unpacking pyPdf>=1.12 (from mwlib>=0.12.14,<0.14-
>mwlib.rl)
  Running setup.py egg_info for package pyPdf
Downloading/unpacking apipkg (from mwlib>=0.12.14,<0.14->mwlib.rl)
  Running setup.py egg_info for package apipkg
    no previously-included directories found matching '.svn'
    no previously-included directories found matching '.hg'
Downloading/unpacking qserve>=0.2.7 (from mwlib>=0.12.14,<0.14-
>mwlib.rl)
  Running setup.py egg_info for package qserve
Downloading/unpacking roman (from mwlib>=0.12.14,<0.14->mwlib.rl)
  Running setup.py egg_info for package roman
Downloading/unpacking lxml (from mwlib>=0.12.14,<0.14->mwlib.rl)
  Running setup.py egg_info for package lxml
    Building lxml version 2.3.3.
    Building with Cython 0.11.2.
    Using build configuration of libxslt 1.1.26
    Building against libxml2/libxslt in the following directory: /usr/
lib
Downloading/unpacking py>=1.4 (from mwlib>=0.12.14,<0.14->mwlib.rl)
  Running setup.py egg_info for package py
Downloading/unpacking sqlite3dbm (from mwlib>=0.12.14,<0.14->mwlib.rl)
  Running setup.py egg_info for package sqlite3dbm
    no previously-included directories found matching 'docs/_build'
Downloading/unpacking greenlet (from gevent->mwlib>=0.12.14,<0.14-
>mwlib.rl)
  Running setup.py egg_info for package greenlet
Installing collected packages: mwlib.rl, mwlib, pygments, mwlib.ext,
pyparsing, odfpy, gevent, timelib, bottle, pyPdf, apipkg, qserve,
roman, lxml, py, sqlite3dbm, greenlet
  Found existing installation: mwlib.rl 0.12.10
    Uninstalling mwlib.rl:
      Successfully uninstalled mwlib.rl
  Running setup.py install for mwlib.rl
    Skipping installation of /usr/local/lib/python2.6/dist-packages/
mwlib/__init__.py (namespace package)
    Installing /usr/local/lib/python2.6/dist-packages/mwlib.rl-0.12.10-
nspkg.pth
  Found existing installation: mwlib 0.12.14
    Uninstalling mwlib:
      Successfully uninstalled mwlib
  Running setup.py install for mwlib
    USING: mwlib.templ.nodes mwlib/templ/nodes.c
    USING: mwlib.templ.evaluate mwlib/templ/evaluate.c
    warning: no files found matching 'README.html'
    warning: no files found matching 'docs/commands.html'
    warning: no files found matching 'docs/configfiles.html'
    warning: no files found matching 'docs/metabook.html'
    warning: no files found matching 'docs/writers.html'
    building 'mwlib._uscan' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -
Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c mwlib/_uscan.cc -
o build/temp.linux-x86_64-2.6/mwlib/_uscan.o
    cc1plus: warning: command line option "-Wstrict-prototypes" is
valid for Ada/C/ObjC but not for C++
    mwlib/_uscan.re: In member function ‘int Scanner::scan()’:
    mwlib/_uscan.re:289: warning: comparison between signed and
unsigned integer expressions
    g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/
temp.linux-x86_64-2.6/mwlib/_uscan.o -o build/lib.linux-x86_64-2.6/
mwlib/_uscan.so
    /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc+
+.a(ios_init.o): relocation R_X86_64_32 against `pthread_cancel' can
not be used when making a shared object; recompile with -fPIC
    /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc++.a: could not read
symbols: Bad value
    collect2: ld returned 1 exit status
    error: command 'g++' failed with exit status 1
    Complete output from command /usr/bin/python -c "import
setuptools;__file__='/usr/local/bin/build/mwlib/
setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'),
__file__, 'exec'))" install --single-version-externally-managed --
record /tmp/pip-zbbyaR-record/install-record.txt:
    USING: mwlib.templ.nodes mwlib/templ/nodes.c

USING: mwlib.templ.evaluate mwlib/templ/evaluate.c

running install

running build

running build_py

running egg_info

writing requirements to mwlib.egg-info/requires.txt

writing mwlib.egg-info/PKG-INFO

writing namespace_packages to mwlib.egg-info/namespace_packages.txt

writing top-level names to mwlib.egg-info/top_level.txt

writing dependency_links to mwlib.egg-info/dependency_links.txt

writing entry points to mwlib.egg-info/entry_points.txt

warning: manifest_maker: standard file '-c' not found

reading manifest file 'mwlib.egg-info/SOURCES.txt'

reading manifest template 'MANIFEST.in'

warning: no files found matching 'README.html'

warning: no files found matching 'docs/commands.html'

warning: no files found matching 'docs/configfiles.html'

warning: no files found matching 'docs/metabook.html'

warning: no files found matching 'docs/writers.html'

writing manifest file 'mwlib.egg-info/SOURCES.txt'

running build_ext

building 'mwlib._uscan' extension

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -
Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c mwlib/_uscan.cc -
o build/temp.linux-x86_64-2.6/mwlib/_uscan.o

cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++

mwlib/_uscan.re: In member function ‘int Scanner::scan()’:

mwlib/_uscan.re:289: warning: comparison between signed and unsigned
integer expressions

g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-
x86_64-2.6/mwlib/_uscan.o -o build/lib.linux-x86_64-2.6/mwlib/
_uscan.so

/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc+
+.a(ios_init.o): relocation R_X86_64_32 against `pthread_cancel' can
not be used when making a shared object; recompile with -fPIC

/usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc++.a: could not read
symbols: Bad value

collect2: ld returned 1 exit status

error: command 'g++' failed with exit status 1

----------------------------------------
  Rolling back uninstall of mwlib
Command /usr/bin/python -c "import setuptools;__file__='/usr/local/bin/
build/mwlib/setup.py';exec(compile(open(__file__).read().replace('\r
\n', '\n'), __file__, 'exec'))" install --single-version-externally-
managed --record /tmp/pip-zbbyaR-record/install-record.txt failed with
error code 1
Storing complete log in /home/jerry/.pip/pip.log




On Feb 16, 1:29 pm, Ralf Schmitt <[email protected]> wrote:
> Jerry <[email protected]> writes:
> > Hello @all,
>
> > I have a problem with installation of mwlib on Ubuntu 10.04 LTS
>
> > pip install mwlib
> > I get this error:
>
> > /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc++.a: could not read
> > symbols: Bad value
>
> > collect2: ld returned 1 exit status
>
> > error: command 'g++' failed with exit status 1
>
> > Can somebody help me?
>
> Can you provide the complete output of the above command?
>
> --
> Cheers
> Ralf

-- 
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mwlib?hl=en.

Reply via email to