public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Portage programming question
@ 2003-03-30  6:35 Robin H. Johnson
  2003-03-30  7:51 ` Robin H. Johnson
  0 siblings, 1 reply; 12+ messages in thread
From: Robin H. Johnson @ 2003-03-30  6:35 UTC (permalink / raw
  To: Gentoo Developer

[-- Attachment #1: Type: text/plain, Size: 466 bytes --]

Hi All,

I'm trying to convert some scripts I wrote (see bug 16331) to Python,
and I was wondering if there is any API documentation for
Portage/Lintool.

In particular, some documents on the Portage DB API would go a long
way.

-- 
Robin Hugh Johnson
E-Mail     : robbat2@orbis-terrarum.net
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Portage programming question
  2003-03-30  6:35 [gentoo-dev] Portage programming question Robin H. Johnson
@ 2003-03-30  7:51 ` Robin H. Johnson
  2003-03-30  9:13   ` George Shapovalov
  0 siblings, 1 reply; 12+ messages in thread
From: Robin H. Johnson @ 2003-03-30  7:51 UTC (permalink / raw
  To: Gentoo Developer; +Cc: sethbc

[-- Attachment #1: Type: text/plain, Size: 1192 bytes --]

On Sat, Mar 29, 2003 at 10:35:05PM -0800, Robin H. Johnson wrote:
> I'm trying to convert some scripts I wrote (see bug 16331) to Python,
> and I was wondering if there is any API documentation for
> Portage/Lintool.
> 
> In particular, some documents on the Portage DB API would go a long
> way.
Argh!

Thanks to sethbc for pointing out:
python
help()
portage

Now after looking at that I'm totally scared off writing Python code t
deal with it. 

My previous Python experience was limited to setting up some C code I
have (http://mvs.sf.net/) to use Python configuration files and set up
scenes with Python scene descriptions
(http://cvs.sf.net/cgi-bin/viewcvs.cgi/mvs/mvs/vis/starfishJK16spread.py?rev=1.2&content-type=text/vnd.viewcvs-markup)
that called back to C for everything.

I'm going to write some C++ or Java instead for what I want. Python
seems to lack the Sets and other sequence datatypes that would be
greatly useful.

-- 
Robin Hugh Johnson
E-Mail     : robbat2@orbis-terrarum.net
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Portage programming question
  2003-03-30  7:51 ` Robin H. Johnson
@ 2003-03-30  9:13   ` George Shapovalov
  2003-03-30 10:47     ` Robin H. Johnson
  0 siblings, 1 reply; 12+ messages in thread
From: George Shapovalov @ 2003-03-30  9:13 UTC (permalink / raw
  To: gentoo-dev

On Saturday 29 March 2003 23:51, Robin H. Johnson wrote:
> I'm going to write some C++ or Java instead for what I want. Python
> seems to lack the Sets and other sequence datatypes that would be
> greatly useful.
Well, not sure what are you referring to, but python sure does have sequence 
types and sets. In fact all sequence types provide set abilities.
You might want to take a look here:
http://www.python.org/doc/current/lib/typesseq.html
and here:
http://www.python.org/doc/current/tut/node7.html

Hope this helps...

George

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Portage programming question
  2003-03-30  9:13   ` George Shapovalov
@ 2003-03-30 10:47     ` Robin H. Johnson
  2003-03-30 19:53       ` George Shapovalov
  0 siblings, 1 reply; 12+ messages in thread
From: Robin H. Johnson @ 2003-03-30 10:47 UTC (permalink / raw
  To: George Shapovalov; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 3994 bytes --]

On Sun, Mar 30, 2003 at 01:13:24AM -0800, George Shapovalov wrote:
> On Saturday 29 March 2003 23:51, Robin H. Johnson wrote:
> > I'm going to write some C++ or Java instead for what I want. Python
> > seems to lack the Sets and other sequence datatypes that would be
> > greatly useful.
> Well, not sure what are you referring to, but python sure does have sequence 
> types and sets. In fact all sequence types provide set abilities.

> You might want to take a look here:
> http://www.python.org/doc/current/lib/typesseq.html
> and here:
> http://www.python.org/doc/current/tut/node7.html
I looked at those originally when learning python properly earlier
today.

My definitions:
A LIST is a group of unordered and possibly duplicate items. As in
LINKED LIST. Commonly O(n) time to access any item. O(n/2) or better if
cleverly implemented. O(n) time for add/remove/contains/size. O(1) for
add/remove (after search).

An ARRAY is a LIST with additional pointers to each element allowing
constant time O(1) access to each element. O(n) time for arbitrary
add/remove. 

A SET is a group of items that are all unique and are accessed in
naturally sorted order. O(1) time for access/add/remove/contains/size.

A MAP is defined as a SET with each element being the key to another
data structure. (Python provides this as a dictionary). Same big-O as
SET.

A BIMAP is best explained as a pair of SETs doubly linked in MAPs. It is
MAP that can be used in both directions, with significent memory, speed
and consistancy improvements, over just using two MAPs.
An explaination of BIMAP:
A is the set of (A1,A2,A3)
B is the set of (B1,B2,B3)
BIMAP.parents() might be: {A1=>(B1,B3),A2=>(B2),A3=(B2,B3)}
BIMAP.children() would then be: {B1=>(A1),B2=>(A2,A3),B3=(A1,A3)}
The actual data of A and B is stored seperately and references to them
are used since each item will appear at least twice.
BIMAPs offer the major advantage that an element from set of data can be
used as a key to obtain related items in constant amortized time.
O(1) for almost all operations.

Hashtable implementation of SET/MAP/BIMAP is cruicial for high
performance.

Python's implementation of a MAP (dictionary) implemented via hash
tables, but I can't find anything on tweaking the load factor and
initial capacity, which makes a significent difference on data sets of
large but known sizes.

For these structures, various iterators are required as well, as this is
the best way to traverse the data. Functional programming methods to
apply to the data is also required, such as (Python provides these first
three) filter, map, reduce, (Python doesn't seem to have these last
three) set union, set difference, set intersection.

For a SET, I considered using MAP and just ignoring the data field, but
that seems like a terrible waste of cpu and memory. I find it really
strange that Python doesn't have a SET while it does have a MAP, esp.
given that MAPs are a logical extension of SETs.

It seems Python did at one stage consider adding SETS:
http://www.python.org/peps/pep-0218.html
But I can't make much sense of the outcome.

It seems I would have to implement BIMAP myself, since there isn't one
in Python that I can find at all. I would admit that it is significently
less common data structure than a list/map/set. I did have to write my
own Java implementation of it, but it is available in other functional
programming languages (Mercury provides a very good example).

BIMAP is the main structure that I would be using, but SET and MAP also
to a slightly lesser degree. I want to create a BIMAP containing the
relative paths to each ebuild as one key, and the IUSE data from that
ebuild as the other key.

-- 
Robin Hugh Johnson
E-Mail     : robbat2@orbis-terrarum.net
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Portage programming question
  2003-03-30 10:47     ` Robin H. Johnson
@ 2003-03-30 19:53       ` George Shapovalov
  2003-04-04 19:42         ` [gentoo-dev] Probleme merging media-video/avifile Thomas Mangin
  0 siblings, 1 reply; 12+ messages in thread
From: George Shapovalov @ 2003-03-30 19:53 UTC (permalink / raw
  To: gentoo-dev

Ho Robin.

On Sunday 30 March 2003 02:47, Robin H. Johnson wrote:
[skipped]
> Python's implementation of a MAP (dictionary) implemented via hash
> tables, but I can't find anything on tweaking the load factor and
> initial capacity, which makes a significent difference on data sets of
> large but known sizes.
Then it looks like you might want to look here:
http://www.python.org/doc/current/lib/module-array.html
This is a more lightwieght implementation and provides a buffer interface.

There are also numerical python modules:
http://numpy.sourceforge.net/numdoc/HTML/numdoc.htm

However if you need to do large numerical computations and you worry about 
efficiency, then I would say/agree that python is probably not the right 
choice. I would pick C++/Pascal for the task (just as you intended). The code 
can be hooked back to python without too much trouble (use swig for example).
So that you may implement crytical functions in say C++ and then call them 
from your "main" python code. It is also possible to hook python code to C++, 
the other way around. As I remember swig can help in that too.. (help mostly 
means automating significant parts of the process).


> For these structures, various iterators are required as well, as this is
> the best way to traverse the data. Functional programming methods to
> apply to the data is also required, such as (Python provides these first
> three) filter, map, reduce, (Python doesn't seem to have these last
> three) set union, set difference, set intersection.
Yes, this is true for 2.2 series. Sets are not completely supported as you 
just mentioned, only basic functionality.

> It seems Python did at one stage consider adding SETS:
> http://www.python.org/peps/pep-0218.html
> But I can't make much sense of the outcome.
Well, its being added rather than was considering at one stage. I hope that 
PEP paper makes more sense this way :). 
From what I can see this functionality is already (at least partially) in 
python-2.3, which is in alpha stage right now. So chances are quite good, 
that this will appear in 2.3 when it's released (probably as experimental 
feature as is common, though this may be done as a separate module, in which 
case it will just be awailable).


> It seems I would have to implement BIMAP myself, since there isn't one
[skip]
> BIMAP is the main structure that I would be using, but SET and MAP also
> to a slightly lesser degree. I want to create a BIMAP containing the
> relative paths to each ebuild as one key, and the IUSE data from that
> ebuild as the other key.
Oh, I see. Yea, I don't remember seing bimap-type structures in built-in 
types, though I would not consider myself a python guru in any way..
Just trying to help here the best way I can :).

You might want to try one of python mailing lists:
http://www.python.org/psa/MailingLists.html
There is one devoted to sets and another to numerical stuff as well as some 
newsgroups. I think there is an irc channel on irc.freenode.net as well 
(populated at around 100+ when I tried it some time ago), I think that was 
#python.
Hope this makes any sense..

George



--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-dev] Probleme merging media-video/avifile
  2003-03-30 19:53       ` George Shapovalov
@ 2003-04-04 19:42         ` Thomas Mangin
  2003-04-04 22:38           ` Sylvain
  0 siblings, 1 reply; 12+ messages in thread
From: Thomas Mangin @ 2003-04-04 19:42 UTC (permalink / raw
  To: gentoo-dev

Hello,

I encountered a problem with portage ...
Hope it helps ..

Thomas
---
gentoo root # emerge sync
[...]

gentoo root # emerge -uDp gnome

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N   ] media-video/avifile-0.7.32.20030219
[ebuild  N   ] media-video/mjpegtools-1.6.0-r7
[ebuild  N   ] media-libs/hermes-1.3.2-r2
[ebuild  N   ] media-libs/gst-plugins-0.6.0-r4
[ebuild  N   ] gnome-extra/libgtkhtml-2.2.1
[ebuild  N   ] gnome-extra/yelp-2.2.0
[ebuild  N   ] app-editors/gedit-2.2.1
[ebuild  N   ] gnome-extra/gnome-games-2.2.0
[ebuild  N   ] gnome-extra/at-spi-1.0.2
[ebuild  N   ] gnome-extra/libgail-gnome-1.0.2
[ebuild  N   ] gnome-extra/gnome2-user-docs-2.0.6
[ebuild  N   ] gnome-base/gnome-session-2.2.1
[ebuild  N   ] gnome-extra/gnome-media-2.2.1.1
[ebuild  N   ] gnome-extra/gnome-system-monitor-2.0.4-r1
[ebuild    U ] gnome-base/control-center-2.2.1 [1.4.0.5-r1]
[ebuild  N   ] gnome-extra/acme-2.0.2
[ebuild  N   ] sys-devel/gdb-5.3
[ebuild  N   ] gnome-extra/bug-buddy-2.2.103
[ebuild  N   ] gnome-extra/nautilus-media-0.2.1
[ebuild  N   ] media-gfx/eog-2.2.1
[ebuild  N   ] gnome-base/gnome-2.2.1

gentoo root # emerge -uD gnome
Calculating dependencies ...done!
>>> emerge (1 of 21) media-video/avifile-0.7.32.20030219 to /
>>> md5 ;-) avifile-0.7.32-20030219.tgz
>>> Unpacking source...
>>> Unpacking avifile-0.7.32-20030219.tgz to
/var/tmp/portage/avifile-0.7.32.20030219/work
>>> Source unpacked.
xv
sdl
mmx
zlib
oggvorbis
X
qt
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
avifile configure
options: --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --in
fodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir
=/var/lib --enable-samples --disable-vidix --with-fpic --with-gnu-ld --enabl
e-oss --disable-static --disable-freetype2 --enable-xv --enable-sdl --disabl
e-a52 --disable-ffmpeg-a52 --enable-quiet --enable-x86opt --enable-libz --en
able-vorbis --with-x --enable-xft --with-qt-dir=/usr/qt/3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking for C++ compiler default output... configure: error: C++ compiler
cannot create executables
See `config.log' for more details.

!!! ERROR: media-video/avifile-0.7.32.20030219 failed.
!!! Function econf, Line 273, Exitcode 77
!!! econf failed

gentoo root # epm -qa
linux-headers-2.4.19
gentoo-sources-2.4.20-r1
gentoo-sources-2.4.20-r2
ncompress-4.2.4
unzip-5.50-r1
cabextract-0.6
zip-2.3-r1
file-roller-2.2.3
make-3.80
gcc-3.2.2
bison-1.35
gettext-0.11.5
patch-2.5.4-r4
flex-2.5.4a-r5
bc-1.06-r5
m4-1.4
prelink-20021002-r1
automake-1.7.2
gcc-config-1.3.1
libperl-5.8.0
bin86-0.16.0
libtool-1.4.1-r10
binutils-2.13.90.0.18
autoconf-2.57-r1
ftp-0.17-r2
curl-7.10.2
pure-ftpd-1.0.14
texinfo-4.3-r1
miscfiles-1.3
devfsd-1.3.25-r3
slocate-2.7
netkit-base-0.17-r6
fileutils-4.1.11
sed-4.0.6
grub-0.92-r1
man-1.5l-r2
portage-2.0.47-r10
modutils-2.4.25
textutils-2.1
kbd-1.06-r1
baselayout-1.8.5.8
setserial-2.17-r2
tcp-wrappers-7.6-r4
file-4.01
less-381
pam-login-3.10
gawk-3.1.1-r1
ed-0.2-r3
tar-1.13.25-r3
hdparm-5.3-r2
cronbase-0.2.1-r2
bzip2-1.0.2-r2
help2man-1.29
sh-utils-2.0.15
psmisc-21.2-r1
e2fsprogs-1.32-r2
procps-2.0.10-r1
shadow-4.0.3-r3
grep-2.5-r1
util-linux-2.11y
sharutils-4.2.1-r6
groff-1.18.1-r1
fbset-2.1
gzip-1.3.3-r1
vcron-3.0.1-r1
man-pages-1.56
cpio-2.5
pciutils-2.1.10-r1
eject-2.0.12-r1
which-2.14
epm-0.8
daemontools-0.76-r3
ucspi-tcp-0.88-r5
net-tools-1.60-r6
findutils-4.1.7-r3
diffutils-2.8.4-r3
debianutils-1.16.7-r1
pam-0.75-r11
db-1.85-r1
ncurses-5.3-r1
db-3.2.9-r1
gdbm-1.8.0-r5
cracklib-2.7-r6
pwdb-0.61-r4
slang-1.4.5-r2
gpm-1.20.0-r5
readline-4.3-r4
libtermcap-compat-1.2.3
zlib-1.1.4-r1
glibc-2.3.1-r4
wget-1.8.2-r2
rsync-2.5.6-r1
openssh-3.5_p1
dhcpcd-1.3.22_p4
python-2.2.2
nasm-0.98.34
perl-5.8.0-r10
popt-1.7-r1
glib-1.2.10-r5
libpcre-3.9-r1
mm-1.2.1
libelf-0.8.2
libxml2-2.5.2
glib-2.2.1
atk-1.2.2
libIDL-0.8.0
libxslt-1.0.25
libxml-1.8.17-r2
openssl-0.9.6i-r2
libunicode-0.4-r1
expat-1.95.6-r1
Safe-2.09
ExtUtils-MakeMaker-6.05-r4
MIME-Base64-2.12-r2
Digest-MD5-2.20-r1
libnet-1.11-r1
HTML-Tagset-3.03-r2
HTML-Parser-3.26-r2
libwww-perl-5.68
sdl-perl-1.20.0
SGMLSpm-1.03-r4
Test-Harness-2.24-r1
Test-Simple-0.47
Storable-2.04-r1
Net-Daemon-0.36-r1
PlRPC-0.2016-r1
DBI-1.32
DBD-mysql-2.1013-r1
URI-1.23
cscope-15.3
indent-2.2.9
intltool-0.25
dialog-0.9_beta20020814
guile-1.4.1
gob-1.0.12
pkgconfig-0.15.0
PyXML-0.8.1
python-fchksum-1.6.1-r1
vim-6.1-r21
nano-1.2.0
vim-core-6.1-r5
sash-3.4-r5
bash-2.05b-r3
iptables-1.2.7a-r3
addpatches-0.2
metalog-0.6-r10
gentoo-stats-0.4
gentoolkit-0.1.19-r3
fam-oss-2.6.9-r1
mailbase-0.00-r4
dot-forward-0.71-r1
checkpassword-0.90-r1
qmail-1.03-r8
qmail-pop3d-1.03-r1
mutt-1.4.1
evolution-1.2.3
apache-1.3.27-r3
mozilla-1.2.1-r5
links-2.1_pre9
w3m-0.4
djbdns-1.05-r7
svgalib-1.4.3-r4
glide-v3-3.10-r3
fontconfig-2.1
audiofile-0.2.3-r1
libpng-1.2.5-r4
jpeg-6b-r3
tiff-3.5.7-r1
lcms-1.09
libmng-1.0.4
libsdl-1.2.5-r1
smpeg-0.4.4-r4
sdl-gfx-2.0.3
sdl-ttf-2.0.5
libogg-1.0
libvorbis-1.0-r2
libmikmod-3.1.10
libao-0.8.3
sdl-image-1.2.2
libart_lgpl-2.3.10
giflib-4.1.0-r3
imlib-1.9.14-r1
gdk-pixbuf-0.21.0
alsa-lib-0.9.0_rc6
freetype-2.1.3-r2
libungif-4.1.0-r1
nas-1.5
sdl-mixer-1.2.5-r1
compface-1.4
libmpeg2-0.3.1
gstreamer-0.6.0-r2
quicktime4linux-1.5.5-r1
jpeg-mmx-1.1.2-r1
libmovtar-0.1.3-r1
libdv-0.98
win32codecs-0.90.1-r2
xvid-0.9.0
divx4linux-20020418-r1
openquicktime-1.0
opengl-update-1.5
xfree-4.2.1-r2
xloadimage-4.1
ttmkfdir-3.0.9
xft-2.0.1
qt-3.1.0-r3
gtk+-1.2.10-r10
gtk+-2.2.1
startup-notification-0.5
vte-0.10.25
qt-2.3.2-r1
libwnck-2.2.1
pango-1.2.1-r1
kde-env-3-r2
arts-1.1.1
kdelibs-3.1.1-r1
frozen-bubble-1.0.0
bombermaze-0.6.6
gtetrinet-0.7.0
docbook-xsl-stylesheets-1.57.0
docbook-xml-dtd-4.1.2-r3
sgml-common-0.6.3-r3
openjade-1.3.1-r6
docbook-sgml-dtd-3.0-r1
docbook-xml-simple-dtd-4.1.2.4
docbook-sgml-dtd-3.1-r1
docbook-sgml-dtd-4.1-r1
docbook-dsssl-stylesheets-1.77-r1
docbook-sgml-dtd-4.0-r1
docbook-sgml-utils-0.6.11-r2
scrollkeeper-0.3.11-r1
ghostscript-7.05.5
aspell-0.50.3
gnome-spell-0.5
ggv-1.99.98
libglade-2.0.1
oaf-0.6.10
gconf-2.2.0
libbonobo-2.2.1
gnome-vfs-2.2.3
libgnomecanvas-2.2.0.2
gnome-mime-data-2.2.0
librsvg-2.2.5
libgnome-2.2.0.1
libglade-0.17-r6
libgnomeui-2.2.0.1
gconf-1.0.8-r3
gdm-2.4.1.3
ORBit-0.5.17
gnome-libs-1.4.2
ORBit2-2.6.1
bonobo-activation-2.2.1.1
libbonoboui-2.2.0.1
gnome-print-0.35-r3
gnome-common-1.2.4-r3
gnome-vfs-1.0.5-r3
control-center-1.4.0.5-r1
bonobo-1.0.22
libghttp-1.0.9-r3
libgnomeprint-2.2.1.2
libgnomeprintui-2.2.1.2
gail-1.2.0
eel-2.2.2
gnome-desktop-2.2.1-r1
nautilus-2.2.2
gnome-panel-2.2.1
libgtop-2.0.0-r1
gnome-applets-2.2.1
linc-1.0.1
openslp-1.0.9a
soup-0.7.10
esound-0.2.29
alsa-driver-0.9.0_rc6
vorbis-tools-1.0-r1
mad-0.14.2b-r2
lame-3.93.1-r1
mpg123-0.59r-r2
portmap-5b-r6
openldap-2.0.27
gnome-themes-2.2.1
gtk-engines-metal-2.2.0
gtk-engines-thinice-2.0.2
gtk-engines-redmond95-2.2.0
gtk-engines-pixbuf-2.2.0
conectiva-crystal-021209
gnome-icon-theme-1.0.1
libgsf-1.6.0
gal-0.23
gtkhtml-1.1.8
bonobo-conf-0.16
gconf-editor-0.4.0
gnome-utils-2.2.1
metacity-2.4.34
gnome-terminal-2.2.1
cups-1.1.18-r4
mysql-3.23.56
unixODBC-2.0.6
blackdown-jre-1.3.1-r7
java-config-0.2.8
gnupg-1.2.1-r1
ffmpeg-0.4.6-r1



--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Probleme merging media-video/avifile
  2003-04-04 19:42         ` [gentoo-dev] Probleme merging media-video/avifile Thomas Mangin
@ 2003-04-04 22:38           ` Sylvain
  2003-04-05  8:30             ` Thomas Mangin
  2003-04-05 18:32             ` Thomas Mangin
  0 siblings, 2 replies; 12+ messages in thread
From: Sylvain @ 2003-04-04 22:38 UTC (permalink / raw
  To: gentoo-dev

Hi,

the epm -qa is probably not very usefull, but have a look at your
/var/tmp/portage/avifile-0.7.32.20030219/work/avifile???/config.log
as reported just before the faillure of avifile merge.

regards,

sylvain


Le Fri, 4 Apr 2003 20:42:11 +0100
"Thomas Mangin" <thomas.mangin@free.fr> a écrit:

> Hello,
> 
> I encountered a problem with portage ...
> Hope it helps ..
> 
> Thomas
> ---
> gentoo root # emerge sync
> [...]
> 
> gentoo root # emerge -uDp gnome
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies ...done!
> [ebuild  N   ] media-video/avifile-0.7.32.20030219
> [ebuild  N   ] media-video/mjpegtools-1.6.0-r7
> [ebuild  N   ] media-libs/hermes-1.3.2-r2
> [ebuild  N   ] media-libs/gst-plugins-0.6.0-r4
> [ebuild  N   ] gnome-extra/libgtkhtml-2.2.1
> [ebuild  N   ] gnome-extra/yelp-2.2.0
> [ebuild  N   ] app-editors/gedit-2.2.1
> [ebuild  N   ] gnome-extra/gnome-games-2.2.0
> [ebuild  N   ] gnome-extra/at-spi-1.0.2
> [ebuild  N   ] gnome-extra/libgail-gnome-1.0.2
> [ebuild  N   ] gnome-extra/gnome2-user-docs-2.0.6
> [ebuild  N   ] gnome-base/gnome-session-2.2.1
> [ebuild  N   ] gnome-extra/gnome-media-2.2.1.1
> [ebuild  N   ] gnome-extra/gnome-system-monitor-2.0.4-r1
> [ebuild    U ] gnome-base/control-center-2.2.1 [1.4.0.5-r1]
> [ebuild  N   ] gnome-extra/acme-2.0.2
> [ebuild  N   ] sys-devel/gdb-5.3
> [ebuild  N   ] gnome-extra/bug-buddy-2.2.103
> [ebuild  N   ] gnome-extra/nautilus-media-0.2.1
> [ebuild  N   ] media-gfx/eog-2.2.1
> [ebuild  N   ] gnome-base/gnome-2.2.1
> 
> gentoo root # emerge -uD gnome
> Calculating dependencies ...done!
> >>> emerge (1 of 21) media-video/avifile-0.7.32.20030219 to /
> >>> md5 ;-) avifile-0.7.32-20030219.tgz
> >>> Unpacking source...
> >>> Unpacking avifile-0.7.32-20030219.tgz to
> /var/tmp/portage/avifile-0.7.32.20030219/work
> >>> Source unpacked.
> xv
> sdl
> mmx
> zlib
> oggvorbis
> X
> qt
> configure: WARNING: If you wanted to set the --build type, don't use --host.
>     If a cross compiler is detected then cross compile mode will be used.
> avifile configure
> options: --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --in
> fodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir
> =/var/lib --enable-samples --disable-vidix --with-fpic --with-gnu-ld --enabl
> e-oss --disable-static --disable-freetype2 --enable-xv --enable-sdl --disabl
> e-a52 --disable-ffmpeg-a52 --enable-quiet --enable-x86opt --enable-libz --en
> able-vorbis --with-x --enable-xft --with-qt-dir=/usr/qt/3
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking for a BSD-compatible install... /bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets $(MAKE)... yes
> checking for working aclocal-1.4... found
> checking for working autoconf... found
> checking for working automake-1.4... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
> checking for C++ compiler default output... configure: error: C++ compiler
> cannot create executables
> See `config.log' for more details.
> 
> !!! ERROR: media-video/avifile-0.7.32.20030219 failed.
> !!! Function econf, Line 273, Exitcode 77
> !!! econf failed
> 

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Probleme merging media-video/avifile
  2003-04-04 22:38           ` Sylvain
@ 2003-04-05  8:30             ` Thomas Mangin
  2003-04-05  9:49               ` Sylvain
  2003-04-05 18:32             ` Thomas Mangin
  1 sibling, 1 reply; 12+ messages in thread
From: Thomas Mangin @ 2003-04-05  8:30 UTC (permalink / raw
  To: Sylvain; +Cc: gentoo-dev

Sylvain,

The epm -qa to show the version of the dependancies.
Here is a listing of the directory with the content of the config.log file,
"Just in case" :-)
Have a nice week-end.

Thomas
---
gentoo root # ls -al
/var/tmp/portage/avifile-0.7.32.20030219/work/avifile0.7-0.7.32/
total 1732
drwxrwxrwx   15 root     root         4096 Apr  4 19:43 .
drwx------    3 root     root         4096 Apr  4 19:43 ..
-rw-r--r--    1 root     root        17982 Jan 23  2001 COPYING
-rw-r--r--    1 root     root        51071 Feb 19 16:15 ChangeLog
-rw-r--r--    1 root     root         1964 Apr 26  2002 INSTALL
-rw-r--r--    1 root     root         1382 Feb 19 16:25 Makefile.am
-rw-r--r--    1 root     root        16021 Feb 19 21:01 Makefile.in
-rw-r--r--    1 root     root         9778 Jun 27  2002 README
-rw-r--r--    2 root     root        50645 Feb 19 20:57 acinclude.m4
-rw-r--r--    1 root     root       176647 Feb 19 20:57 aclocal.m4
drwxrwxrwx    2 root     root         4096 Feb 19 21:01 admin
-rwxr-xr-x    1 root     root         7030 Nov  7 15:04 autogen.sh
-rwxr-xr-x    1 root     root         2020 Apr 30  2002 avifile-config.in
-rw-r--r--    1 root     root          253 Feb 19 17:51 avifile.pc.in
-rw-r--r--    1 root     root         4940 Jan 24 11:28 avifile.spec.in
drwxrwxrwx    2 root     root         4096 Feb 19 21:02 bin
-rw-r--r--    1 root     root         8698 Apr  4 19:43 config.log
-rwxr-xr-x    1 root     root       615364 Apr  4 19:43 configure
-rw-r--r--    2 root     root        36553 Feb 19 18:33 configure.ac
-rw-r--r--    2 root     root        36553 Feb 19 18:33 configure.in
-rwxr-xr-x    1 root     root       615364 Apr  4 19:43 configure.orig
drwxrwxrwx    2 root     root         4096 Feb 19 21:02 debian
drwxrwxrwx    2 root     root         4096 Feb 19 21:02 doc
drwxrwxrwx    4 root     root         4096 Feb 19 21:01 drivers
drwxrwxrwx    4 root     root         4096 Feb 19 21:01 ffmpeg
drwxrwxrwx    2 root     root         4096 Feb 19 21:02 include
drwxrwxrwx    8 root     root         4096 Feb 19 21:01 lib
drwxrwxrwx    2 root     root         4096 Feb 19 21:02 libavqt
drwxrwxrwx    2 root     root         4096 Feb 19 21:01 m4
drwxrwxrwx    2 root     root         4096 Feb 19 21:02 player
drwxrwxrwx   13 root     root         4096 Feb 19 21:02 plugins
drwxrwxrwx    7 root     root         4096 Feb 19 21:02 samples
----

gentoo root # less
/var/tmp/portage/avifile-0.7.32.20030219/work/avifile0.7-0.7.32/config.log

It was created by configure, which was
generated by GNU Autoconf 2.57.  Invocation command line was

$
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man -
-infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstate
dir=/var/lib --enable-samples --disable-vidix --with-fpic --with-gnu-ld --en
able-oss --disable-static --disable-freetype2 --enable-xv --enable-sdl --dis
able-a52 --disable-ffmpeg-a52 --enable-quiet --enable-x86opt --enable-libz -
-enable-vorbis --with-x --enable-xft --with-qt-dir=/usr/qt/3

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

hostname = gentoo.slhan.org
uname -m = i686
uname -r = 2.4.20-gentoo-r1
uname -s = Linux
uname -v = #2 SMP Mon Mar 17 19:05:30 GMT 2003

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

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/bin/ccache
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /opt/bin
PATH: /usr/i586-pc-linux-gnu/gcc-bin/3.2
PATH: /usr/X11R6/bin
PATH: /opt/blackdown-jre-1.3.1/bin
PATH: /usr/qt/3/bin
PATH: /usr/kde/3.1/sbin
PATH: /usr/kde/3.1/bin
PATH: /usr/qt/2/bin


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

configure:1561: checking build system type
configure:1579: result: i686-pc-linux-gnu
configure:1587: checking host system type
configure:1601: result: i686-pc-linux-gnu
configure:1609: checking target system type
configure:1623: result: i686-pc-linux-gnu
configure:1651: checking for a BSD-compatible install
configure:1705: result: /bin/install -c
configure:1716: checking whether build environment is sane
configure:1759: result: yes
configure:1774: checking whether make sets $(MAKE)
configure:1794: result: yes
configure:1826: checking for working aclocal-1.4
configure:1833: result: found
configure:1841: checking for working autoconf
configure:1848: result: found
configure:1856: checking for working automake-1.4
configure:1863: result: found
configure:1871: checking for working autoheader
configure:1878: result: found
configure:1886: checking for working makeinfo
configure:1893: result: found
configure:1931: checking for i686-pc-linux-gnu-g++
configure:1947: found /usr/bin/i686-pc-linux-gnu-g++
configure:1957: result: i686-pc-linux-gnu-g++
configure:2015: checking for C++ compiler version
configure:2018: i686-pc-linux-gnu-g++ --version </dev/null >&5
Could not run/locate i686-pc-linux-gnu-g++!
configure:2021: $? = 1
configure:2023: i686-pc-linux-gnu-g++ -v </dev/null >&5
Could not run/locate i686-pc-linux-gnu-g++!
configure:2026: $? = 1
configure:2028: i686-pc-linux-gnu-g++ -V </dev/null >&5
Could not run/locate i686-pc-linux-gnu-g++!
configure:2031: $? = 1
configure:2055: checking for C++ compiler default output
configure:2058: i686-pc-linux-gnu-g++    conftest.cc  >&5
Could not run/locate i686-pc-linux-gnu-g++!
configure:2061: $? = 1
configure: failed program was:
| #line 2034 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "avifile0.7"
| #define VERSION "0.7.32"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2100: error: C++ compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_path_install='/bin/install -c'
ac_cv_prog_CXX=i686-pc-linux-gnu-g++
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=i686-pc-linux-gnu

## ----------------- ##
## Output variables. ##
## ----------------- ##

A52_CFLAGS=''
A52_LIBS=''
ACLOCAL='aclocal-1.4'
ALLOCA=''
AMM_BUILD_STRPTIME_FALSE=''
AMM_BUILD_STRPTIME_TRUE=''
AMM_USE_A52BIN_FALSE=''
AMM_USE_A52BIN_TRUE=''
AMM_USE_A52_FALSE=''
AMM_USE_A52_TRUE=''
AMM_USE_AC3PASS_FALSE=''
AMM_USE_AC3PASS_TRUE=''
AMM_USE_ALPHAOPT_FALSE=''
AMM_USE_ALPHAOPT_TRUE=''
AMM_USE_ARMOPT_FALSE=''
AMM_USE_ARMOPT_TRUE=''
AMM_USE_ARTSC_FALSE=''
AMM_USE_ARTSC_TRUE=''
AMM_USE_AVICAP_FALSE=''
AMM_USE_AVICAP_TRUE=''
AMM_USE_AVIRECOMP_FALSE=''
AMM_USE_AVIRECOMP_TRUE=''
AMM_USE_DIVX4_FALSE=''
AMM_USE_DIVX4_TRUE=''
AMM_USE_FAST_BUILD_FALSE=''
AMM_USE_FAST_BUILD_TRUE=''
AMM_USE_FFMPEG_A52BIN_FALSE=''
AMM_USE_FFMPEG_A52BIN_TRUE=''
AMM_USE_FFMPEG_FALSE=''
AMM_USE_FFMPEG_TRUE=''
AMM_USE_FT2_FALSE=''
AMM_USE_FT2_TRUE=''
AMM_USE_JPEGLIB_FALSE=''
AMM_USE_JPEGLIB_TRUE=''
AMM_USE_LIBAVIPLAY_FALSE=''
AMM_USE_LIBAVIPLAY_TRUE=''
AMM_USE_LIBMAD_FALSE=''
AMM_USE_LIBMAD_TRUE=''
AMM_USE_LINUX_FALSE=''
AMM_USE_LINUX_TRUE=''
AMM_USE_MAD_FALSE=''
AMM_USE_MAD_TRUE=''
AMM_USE_MGA_VID_FALSE=''
AMM_USE_MGA_VID_TRUE=''
AMM_USE_MLIBOPT_FALSE=''
AMM_USE_MLIBOPT_TRUE=''
AMM_USE_MP3LAMEBIN_FALSE=''
AMM_USE_MP3LAMEBIN_TRUE=''
AMM_USE_MP3LAME_FALSE=''
AMM_USE_MP3LAME_TRUE=''
AMM_USE_OSS_FALSE=''
AMM_USE_OSS_TRUE=''
AMM_USE_PPCOPT_FALSE=''
AMM_USE_PPCOPT_TRUE=''
AMM_USE_PS2OPT_FALSE=''
AMM_USE_PS2OPT_TRUE=''
AMM_USE_QT_FALSE=''
AMM_USE_QT_TRUE=''
AMM_USE_SAMPLES_FALSE=''
AMM_USE_SAMPLES_TRUE=''
AMM_USE_SDL_FALSE=''
AMM_USE_SDL_TRUE=''
AMM_USE_SUN_FALSE=''
AMM_USE_SUN_TRUE=''
AMM_USE_V4L_FALSE=''
AMM_USE_V4L_TRUE=''
AMM_USE_VIDIX_FALSE=''
AMM_USE_VIDIX_TRUE=''
AMM_USE_VORBIS_FALSE=''
AMM_USE_VORBIS_TRUE=''
AMM_USE_WIN32_FALSE=''
AMM_USE_WIN32_TRUE=''
AMM_USE_X86OPT_FALSE=''
AMM_USE_X86OPT_TRUE=''
AMM_USE_XVID_FALSE=''
AMM_USE_XVID_TRUE=''
AUTOCONF='autoconf'
AUTOHEADER='autoheader'
AUTOMAKE='automake-1.4'
AVIFILE_BUILD=''
AVIFILE_MAJOR_VERSION='0'
AVIFILE_MICRO_VERSION='32'
AVIFILE_MINOR_VERSION='7'
AVIFILE_RLD_FLAGS=''
AVILIBDEPLIB=''
AWK=''
CC=''
CFLAGS=''
CINLINEFLAGS=''
CPP=''
CPPFLAGS=''
CXX='i686-pc-linux-gnu-g++'
CXXFLAGS=''
CXXRTTIEXCEPT=''
DEFS=''
DIVX4_CFLAGS=''
DIVX4_LIBS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FFMPEG_CFLAGS=''
FT2_CFLAGS=''
FT2_CONFIG=''
FT2_LIBS=''
I386_LDADD=''
ICONV_CFLAGS=''
ICONV_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LINUX_CFLAGS=''
LINUX_PREFIX=''
LN_S=''
LTLIBOBJS=''
LTNOPIC=''
MAD_LIBS=''
MAKEINFO='makeinfo'
MOC=''
OBJEXT=''
OGG_CFLAGS=''
OGG_LIBS=''
PACKAGE='avifile0.7'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
QT_CFLAGS=''
QT_LIBS=''
RANLIB=''
SDL_CFLAGS=''
SDL_CONFIG=''
SDL_LIBS=''
SDL_MY_CONFIG=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.7.32'
VORBISENC_LIBS=''
VORBISFILE_LIBS=''
VORBIS_CFLAGS=''
VORBIS_LIBS=''
WIN32_PATH=''
XFT_CFLAGS=''
XFT_CONFIG=''
XFT_LIBS=''
XVID_CFLAGS=''
XVID_LIBS=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
Z_LIBS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='/usr/share/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var/lib'
mandir='/usr/share/man'
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,x,x,'
qt_version=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "avifile0.7"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.7.32"

configure: exit 77


----- Original Message -----
From: "Sylvain" <asm8@wanadoo.fr>
To: <gentoo-dev@gentoo.org>
Sent: Friday, April 04, 2003 11:38 PM
Subject: Re: [gentoo-dev] Probleme merging media-video/avifile


Hi,

the epm -qa is probably not very usefull, but have a look at your
/var/tmp/portage/avifile-0.7.32.20030219/work/avifile???/config.log
as reported just before the faillure of avifile merge.

regards,

sylvain


Le Fri, 4 Apr 2003 20:42:11 +0100
"Thomas Mangin" <thomas.mangin@free.fr> a écrit:

> Hello,
>
> I encountered a problem with portage ...
> Hope it helps ..
>
> Thomas
> ---
> gentoo root # emerge sync
> [...]
>
> gentoo root # emerge -uDp gnome
>
> These are the packages that I would merge, in order:
>
> Calculating dependencies ...done!
> [ebuild  N   ] media-video/avifile-0.7.32.20030219
> [ebuild  N   ] media-video/mjpegtools-1.6.0-r7
> [ebuild  N   ] media-libs/hermes-1.3.2-r2
> [ebuild  N   ] media-libs/gst-plugins-0.6.0-r4
> [ebuild  N   ] gnome-extra/libgtkhtml-2.2.1
> [ebuild  N   ] gnome-extra/yelp-2.2.0
> [ebuild  N   ] app-editors/gedit-2.2.1
> [ebuild  N   ] gnome-extra/gnome-games-2.2.0
> [ebuild  N   ] gnome-extra/at-spi-1.0.2
> [ebuild  N   ] gnome-extra/libgail-gnome-1.0.2
> [ebuild  N   ] gnome-extra/gnome2-user-docs-2.0.6
> [ebuild  N   ] gnome-base/gnome-session-2.2.1
> [ebuild  N   ] gnome-extra/gnome-media-2.2.1.1
> [ebuild  N   ] gnome-extra/gnome-system-monitor-2.0.4-r1
> [ebuild    U ] gnome-base/control-center-2.2.1 [1.4.0.5-r1]
> [ebuild  N   ] gnome-extra/acme-2.0.2
> [ebuild  N   ] sys-devel/gdb-5.3
> [ebuild  N   ] gnome-extra/bug-buddy-2.2.103
> [ebuild  N   ] gnome-extra/nautilus-media-0.2.1
> [ebuild  N   ] media-gfx/eog-2.2.1
> [ebuild  N   ] gnome-base/gnome-2.2.1
>
> gentoo root # emerge -uD gnome
> Calculating dependencies ...done!
> >>> emerge (1 of 21) media-video/avifile-0.7.32.20030219 to /
> >>> md5 ;-) avifile-0.7.32-20030219.tgz
> >>> Unpacking source...
> >>> Unpacking avifile-0.7.32-20030219.tgz to
> /var/tmp/portage/avifile-0.7.32.20030219/work
> >>> Source unpacked.
> xv
> sdl
> mmx
> zlib
> oggvorbis
> X
> qt
> configure: WARNING: If you wanted to set the --build type, don't
use --host.
>     If a cross compiler is detected then cross compile mode will be used.
> avifile configure
>
options: --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --in
>
fodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir
>
=/var/lib --enable-samples --disable-vidix --with-fpic --with-gnu-ld --enabl
>
e-oss --disable-static --disable-freetype2 --enable-xv --enable-sdl --disabl
>
e-a52 --disable-ffmpeg-a52 --enable-quiet --enable-x86opt --enable-libz --en
> able-vorbis --with-x --enable-xft --with-qt-dir=/usr/qt/3
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking for a BSD-compatible install... /bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets $(MAKE)... yes
> checking for working aclocal-1.4... found
> checking for working autoconf... found
> checking for working automake-1.4... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
> checking for C++ compiler default output... configure: error: C++ compiler
> cannot create executables
> See `config.log' for more details.
>
> !!! ERROR: media-video/avifile-0.7.32.20030219 failed.
> !!! Function econf, Line 273, Exitcode 77
> !!! econf failed
>

--
gentoo-dev@gentoo.org mailing list



--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Probleme merging media-video/avifile
  2003-04-05  8:30             ` Thomas Mangin
@ 2003-04-05  9:49               ` Sylvain
  2003-04-05 18:52                 ` Thomas Mangin
  0 siblings, 1 reply; 12+ messages in thread
From: Sylvain @ 2003-04-05  9:49 UTC (permalink / raw
  To: gentoo-dev; +Cc: Thomas Mangin

Hi !

it seems you problem comes from here :


Le Sat, 5 Apr 2003 09:30:55 +0100
"Thomas Mangin" <thomas.mangin@free.fr> a écrit:

> configure:2015: checking for C++ compiler version
> configure:2018: i686-pc-linux-gnu-g++ --version </dev/null >&5
> Could not run/locate i686-pc-linux-gnu-g++!
> configure:2021: $? = 1
> configure:2023: i686-pc-linux-gnu-g++ -v </dev/null >&5
> Could not run/locate i686-pc-linux-gnu-g++!
> configure:2026: $? = 1
> configure:2028: i686-pc-linux-gnu-g++ -V </dev/null >&5
> Could not run/locate i686-pc-linux-gnu-g++!
> configure:2031: $? = 1
> configure:2055: checking for C++ compiler default output
> configure:2058: i686-pc-linux-gnu-g++    conftest.cc  >&5
> Could not run/locate i686-pc-linux-gnu-g++!

Havea look at th outpout of the following command :
gcc-config --list-profiles

then, choose a profile and try you merge again.

regards,
sylvain

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Probleme merging media-video/avifile
  2003-04-04 22:38           ` Sylvain
  2003-04-05  8:30             ` Thomas Mangin
@ 2003-04-05 18:32             ` Thomas Mangin
  1 sibling, 0 replies; 12+ messages in thread
From: Thomas Mangin @ 2003-04-05 18:32 UTC (permalink / raw
  To: Sylvain, gentoo-dev; +Cc: el lodger

Thanks, but it did not do the trick...
I will try to investigate what is causing the fault.

Thomas

----- Original Message ----- 
From: "el lodger" <karma911@pacbell.net>
To: <thomas.mangin@free.fr>
Sent: Saturday, April 05, 2003 2:01 AM
Subject: Fw: Re: [gentoo-user] avifile black sheep


> Hello Thomas,
> I had the same problem and this message solved it.
> Good luck.
> el lodger
> 
> Begin forwarded message:
> 
> Date: Thu, 27 Mar 2003 23:32:06 +0100
> From: Sundance <sundance@ierne.eu.org>
> To: gentoo-user@gentoo.org
> Subject: Re: [gentoo-user] avifile black sheep
> 
> 
> I heard Francesco Talamona said:
> 
> > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-
> >gnu/bin/ld: cannot find -lartsc
> 
> Known issue. It's an aRts installation bug. Here's an easy workaround:
>   ln -s /usr/kde/3.1/lib/libartsc.so /usr/lib/libartsc.so
> (As root.)
> 
> It should fix the problem.
> 
> -- S.

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Probleme merging media-video/avifile
  2003-04-05  9:49               ` Sylvain
@ 2003-04-05 18:52                 ` Thomas Mangin
  2003-04-05 20:12                   ` Sylvain
  0 siblings, 1 reply; 12+ messages in thread
From: Thomas Mangin @ 2003-04-05 18:52 UTC (permalink / raw
  To: Sylvain, gentoo-dev

I got it sorted. Thank you for the help
Is that what you meant by "Choose a profile" ?

Thomas
---
gentoo root # cat /etc/make.conf

# Host Setting
# ============
#
# If you are using a Pentium Pro or greater processor, leave this line
as-is;
# otherwise, change to i586, i486 or i386 as appropriate. All modern systems
# (even Athlons) should use "i686-pc-linux-gnu"
#

# Changed CHOST to output of gcc-config --list-profiles
(i586-pc-linux-gnu-3.2.2)
# without the version number

#CHOST="i686-pc-linux-gnu"
CHOST="i586-pc-linux-gnu"

----- Original Message -----
From: "Sylvain" <asm8@wanadoo.fr>
To: <gentoo-dev@gentoo.org>
Cc: "Thomas Mangin" <thomas.mangin@free.fr>
Sent: Saturday, April 05, 2003 10:49 AM
Subject: Re: [gentoo-dev] Probleme merging media-video/avifile


Hi !

it seems you problem comes from here :


Le Sat, 5 Apr 2003 09:30:55 +0100
"Thomas Mangin" <thomas.mangin@free.fr> a écrit:

> configure:2015: checking for C++ compiler version
> configure:2018: i686-pc-linux-gnu-g++ --version </dev/null >&5
> Could not run/locate i686-pc-linux-gnu-g++!
> configure:2021: $? = 1
> configure:2023: i686-pc-linux-gnu-g++ -v </dev/null >&5
> Could not run/locate i686-pc-linux-gnu-g++!
> configure:2026: $? = 1
> configure:2028: i686-pc-linux-gnu-g++ -V </dev/null >&5
> Could not run/locate i686-pc-linux-gnu-g++!
> configure:2031: $? = 1
> configure:2055: checking for C++ compiler default output
> configure:2058: i686-pc-linux-gnu-g++    conftest.cc  >&5
> Could not run/locate i686-pc-linux-gnu-g++!

Havea look at th outpout of the following command :
gcc-config --list-profiles

then, choose a profile and try you merge again.

regards,
sylvain


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Probleme merging media-video/avifile
  2003-04-05 18:52                 ` Thomas Mangin
@ 2003-04-05 20:12                   ` Sylvain
  0 siblings, 0 replies; 12+ messages in thread
From: Sylvain @ 2003-04-05 20:12 UTC (permalink / raw
  To: gentoo-dev; +Cc: thomas.mangin


> I got it sorted. Thank you for the help
> Is that what you meant by "Choose a profile" ?

Yes :-) You have to choose the right gcc profile with gcc-config,
accordingly to what is set your CHOST variable in your make.conf
and your /usr/*-linux-gnu directory.

regards,

sylvain

> 
> Thomas
> ---
> gentoo root # cat /etc/make.conf
> 
> # Host Setting
> # ============
> #
> # If you are using a Pentium Pro or greater processor, leave this line
> as-is;
> # otherwise, change to i586, i486 or i386 as appropriate. All modern systems
> # (even Athlons) should use "i686-pc-linux-gnu"
> #
> 
> # Changed CHOST to output of gcc-config --list-profiles
> (i586-pc-linux-gnu-3.2.2)
> # without the version number
> 
> #CHOST="i686-pc-linux-gnu"
> CHOST="i586-pc-linux-gnu"
> 
> ----- Original Message -----
> From: "Sylvain" <asm8@wanadoo.fr>
> To: <gentoo-dev@gentoo.org>
> Cc: "Thomas Mangin" <thomas.mangin@free.fr>
> Sent: Saturday, April 05, 2003 10:49 AM
> Subject: Re: [gentoo-dev] Probleme merging media-video/avifile
> 
> 
> Hi !
> 
> it seems you problem comes from here :
> 
> 
> Le Sat, 5 Apr 2003 09:30:55 +0100
> "Thomas Mangin" <thomas.mangin@free.fr> a écrit:
> 
> > configure:2015: checking for C++ compiler version
> > configure:2018: i686-pc-linux-gnu-g++ --version </dev/null >&5
> > Could not run/locate i686-pc-linux-gnu-g++!
> > configure:2021: $? = 1
> > configure:2023: i686-pc-linux-gnu-g++ -v </dev/null >&5
> > Could not run/locate i686-pc-linux-gnu-g++!
> > configure:2026: $? = 1
> > configure:2028: i686-pc-linux-gnu-g++ -V </dev/null >&5
> > Could not run/locate i686-pc-linux-gnu-g++!
> > configure:2031: $? = 1
> > configure:2055: checking for C++ compiler default output
> > configure:2058: i686-pc-linux-gnu-g++    conftest.cc  >&5
> > Could not run/locate i686-pc-linux-gnu-g++!
> 
> Havea look at th outpout of the following command :
> gcc-config --list-profiles
> 
> then, choose a profile and try you merge again.
> 
> regards,
> sylvain
> 
> 
> --
> gentoo-dev@gentoo.org mailing list
> 

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-04-05 20:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-30  6:35 [gentoo-dev] Portage programming question Robin H. Johnson
2003-03-30  7:51 ` Robin H. Johnson
2003-03-30  9:13   ` George Shapovalov
2003-03-30 10:47     ` Robin H. Johnson
2003-03-30 19:53       ` George Shapovalov
2003-04-04 19:42         ` [gentoo-dev] Probleme merging media-video/avifile Thomas Mangin
2003-04-04 22:38           ` Sylvain
2003-04-05  8:30             ` Thomas Mangin
2003-04-05  9:49               ` Sylvain
2003-04-05 18:52                 ` Thomas Mangin
2003-04-05 20:12                   ` Sylvain
2003-04-05 18:32             ` Thomas Mangin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox