/usr/games/itdept
14 Nov 2005Would you like me to pick a character for you? [YES/NO]
YES
You are the sysadmin. A user comes to you and asks for a package of Matplotlib for python 2.2.
SEARCH GOOGLE
Google says that packages are available for Debian at the Matplotlib homepage, in the packages section.
GO MATPLOTLIB PACKAGES
You see packages for Python 2.3 and a link to the mailing lists.
GO MATPLOTLIB HOMEPAGE
You see source distributions for Matplotlib, including the latest version.
DOWNLOAD MATPLOTLIB
The Matplotlib tarball is in your home directory now.
UNTAR MATPLOTLIB
Okay.
COMPILE MATPLOTLIB
Things proceed well until you see the following
error:
``
building 'matplotlib._nc_cntr' extension
gcc -DNDEBUG -g -O3 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -I/usr/local/include -I/usr/include -I/usr/include/python2.2 -c src/_nc_cntr.c -o build/temp.linux-i686-2.2/_nc_cntr.o -DNUMERIC=1
src/_nc_cntr.c:1718: error: syntax error before "init_nc_cntr"
src/_nc_cntr.c:1719: warning: return type defaults to
int'
src/nccntr.c: In function init_nc_cntr':
src/_nc_cntr.c:1723: warning:
return' with no value, in function returning non-void
src/nccntr.c:1729: warning: `return' with no value, in function returning non-void
error: command 'gcc' failed with exit status 1
VI SRC/_NC_CNTR.C
There is no such file.
VI src/_nc_cntr.c
There is no such file.
COMPILE MATPLOTLIB
Things proceed well un
CTRL-Z
The process has been suspended.
VI SRC/_NC_CNTR.C
There is nothing obviously wrong with this file.
GO MATPLOTLIB HOMEPAGE
You see packages for Python 2.3 and a link to the mailing lists.
GO MATPLOTLIB MAILINGLISTS
They're hosted on Sourceforge. You see lists for users and
developers.
GO LIST USERS
Sourceforge times out.
GO LIST DEVEL
Sourceforge times out.
GO LIST DEVEL
You see the search page, but without any stylesheet.
SEARCH _NC_CNTR.C
Sourceforge times out.
GO GMANE
You see the following message: "Welcome to GMANE, the NNTP-friendly
mailing list archive! You can search all your favourite mailing lists
here."
SEARCH _NC_CNTR.C
You see the following search results:
1. RH 3.2/Python 2.2 build problems (gmane.comp.python.matplotlib.general)
2. Re: (Matplotlib-users) Installation issue (gmane.comp.python.matplotlib.general)
3. Numarray problems on AIX (gmane.comp.python.numeric.general)
GO 1
You see the following post to gmane.comp.python.matplotlib.general:
I'm having problems building matplotlib on Redhat 3.2 with python
2.2. It complains about src/_nc_cntr.c. Does anyone know what's
happening? You notice a cute flag indicating the country of origin of
the email.
SEARCH REPLY
You can't do that on Gmane. You notice a cute flag indicating the
country of origin of the email.
SEARCH THREAD NEXT
You can't do that on Gmane. You notice a cute flag indicating the
country of origin of the email.
SEARCH THREAD LIST
You can't do that on Gmane. You notice a cute flag indicating the
country of origin of the email.
SEARCH SUBJECT LIST
You can't do that on Gmane. You notice a cute flag indicating the
country of origin of the email.
EDIT URL
You open the URL in vi.
EX:s/articles.gmane.org/blog.gmane.org/wq
You get the latest posts in gmane.comp.python.matplotlib.general and
lose the search result you had.
GO BACK
Okay.
EDIT URL
You open the URL in vi.
EX:s/articles.gmane.org/comments.gmane.org/wq
You see the same post with a different stylesheet. You notice a cute
flag indicating the country of origin of the email.
SEARCH REPLY
Ah, there it is! You see the following reply:
> My guess is that this is because cntr.c is using a python2.3 only
> macro, and we haven't sufficiently tested with python2.2. Try
> replacing all occurrences of MODINIT_FUNC with extern "C"
> DL_EXPORT(void).
You notice a cute flag indicating the country of origin of the email.
SEARCH REPLY
There doesn't seem to be one. The user comes back and asks if the package is done yet.
Add a comment:
Name and email required; email is not displayed.
Related Posts
QRP weekend 08 Oct 2018
Open Source Cubesat Workshop 2018 03 Oct 2018
mpd crash? try removing files in /var/lib/mpd/ 11 Aug 2018