Re: [opensuse-factory] libstdc++.la

2007-10-27 Thread Cristian Rodriguez
Donn Washburn escribió:
> Hey group;
> 
> It seems that many source programs are looking for libstdc++.ls and
> libexpat.la.  Neither is found.  Programs like koffice and kMyMoney.  I
> think libstdc++ and libexpat are not in the normal / development packages.

Neither should be there, this is intented, (missing by intention)
whatever requests libstdc++.la is broken.

read the following report completely

https://bugzilla.novell.com/show_bug.cgi?id=215548

and this one.

https://bugzilla.novell.com/show_bug.cgi?id=223616

-- 
"Two things are infinite: the universe and human stupidity; and I'm not
sure about the universe." --Albert Einstein

Cristian Rodríguez R, Core Services
SUSE LINUX Products GmbH
Research & Development
http://www.opensuse.org/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] libstdc++.la library

2006-10-30 Thread Andreas Hanke
Juan Erbes schrieb:
> In what package are the libstdc++.la library?

It's nowhere, this has been discussed already.

> I'm rebuilding the cinelerra package from the packman repo, because
> the original hangs, and I got:
> [...]
> grep: /usr/lib/libstdc++.la: No such file or directory
> /usr/bin/sed: can't read /usr/lib/libstdc++.la: No such file or directory
> libtool: link: `/usr/lib/libstdc++.la' is not a valid libtool archive

You need to find out which one of the other .la files references
libstdc++.la, and rebuild that, so that it loses its reference to
libstdc++.la.

> I made a "locate libstdc++"
> and found:
> [...]
> /usr/lib/gcc/i586-suse-linux/4.1.2/libstdc++.a is nearly than, but is
> the same?
> I can do a symlink as libstdc++.la pinting to
> /usr/lib/gcc/i586-suse-linux/4.1.2/libstdc++.a?

No.

You exactly found the reason why libstdc++.la had to be removed, but the
solution is not a symlink.

The libstdc++ development files are now in a versioned directory to
allow parallel installation of multiple versions, but libstdc++.la does
not carry its version number in the filename and so it had to die.

In doubt, rebuild _everything_ - that should do the trick.

Andreas Hanke
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] libstdc++.la library

2006-10-31 Thread Juan Erbes

2006/10/30, Andreas Hanke <[EMAIL PROTECTED]>:

Juan Erbes schrieb:
> In what package are the libstdc++.la library?



> /usr/lib/gcc/i586-suse-linux/4.1.2/libstdc++.a?

No.

You exactly found the reason why libstdc++.la had to be removed, but the
solution is not a symlink.

The libstdc++ development files are now in a versioned directory to
allow parallel installation of multiple versions, but libstdc++.la does
not carry its version number in the filename and so it had to die.

In doubt, rebuild _everything_ - that should do the trick.


Thanks.
I have downloaded the cinelerra source and when I do the ./configure, I got:
*** Yasm is required.  Download it from www.tortall.net/projects/yasm/
Giving up and going to a movie.
Now I download yasm from the OSS repo.
Why You dońt include cinelerra in the distro?
I do'nt find a descent application to capture analog video with a bttv
based card. Xawtv, is obsolete, and do'nt work right, and kino only
supports DV capture.
The OSS version of zapping do'nt support analog video capture.

Thanks


Re: [opensuse-factory] libstdc++.la library

2006-10-31 Thread Juan Erbes

2006/10/30, Andreas Hanke


You need to find out which one of the other .la files references
libstdc++.la, and rebuild that, so that it loses its reference to
libstdc++.la.

> I made a "locate libstdc++"
> and found:
> [...]
> /usr/lib/gcc/i586-suse-linux/4.1.2/libstdc++.a is nearly than, but is
> the same?
> I can do a symlink as libstdc++.la pinting to
> /usr/lib/gcc/i586-suse-linux/4.1.2/libstdc++.a?

No.

You exactly found the reason why libstdc++.la had to be removed, but the
solution is not a symlink.

The libstdc++ development files are now in a versioned directory to
allow parallel installation of multiple versions, but libstdc++.la does
not carry its version number in the filename and so it had to die.

In doubt, rebuild _everything_ - that should do the trick.



I have downloaded the cinelerra sources, and building from zero, I got
the same error:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../common/faad
-I../common/mp4ff   -O2 -g -O2 -MT audio.o -MD -MP -MF
".deps/audio.Tpo" -c -o audio.o audio.c; \
   then mv -f ".deps/audio.Tpo" ".deps/audio.Po"; else rm -f
".deps/audio.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../common/faad
-I../common/mp4ff   -O2 -g -O2 -MT getopt.o -MD -MP -MF
".deps/getopt.Tpo" -c -o getopt.o `test -f '../common/faad/getopt.c'
|| echo './'`../common/faad/getopt.c; \
   then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f
".deps/getopt.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link g++ -O2 -g -O2   -o faad  main.o
audio.o getopt.o ../libfaad/libfaad.la ../common/mp4ff/libmp4ff.la
-lmp4v2 -lmp4v2
mkdir .libs
libtool: link: cannot find the library `/usr/lib/libstdc++.la'
make[5]: *** [faad] Error 1

I do'nt know hot to resolve this problem.
The other option is that You include the cinelerra application in the
building service, for include it in the distro.
Opensuse do'nt has any acceptable video editor, and I mean cinelerra
is the best opensource option.

Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] libstdc++.la library

2006-10-31 Thread Andreas Hanke
Juan Erbes schrieb:
> I have downloaded the cinelerra sources, and building from zero, I got
> the same error:
> 
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../common/faad
> -I../common/mp4ff   -O2 -g -O2 -MT audio.o -MD -MP -MF
> ".deps/audio.Tpo" -c -o audio.o audio.c; \
>then mv -f ".deps/audio.Tpo" ".deps/audio.Po"; else rm -f
> ".deps/audio.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../common/faad
> -I../common/mp4ff   -O2 -g -O2 -MT getopt.o -MD -MP -MF
> ".deps/getopt.Tpo" -c -o getopt.o `test -f '../common/faad/getopt.c'
> || echo './'`../common/faad/getopt.c; \
>then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f
> ".deps/getopt.Tpo"; exit 1; fi
> /bin/sh ../libtool --mode=link g++ -O2 -g -O2   -o faad  main.o
> audio.o getopt.o ../libfaad/libfaad.la ../common/mp4ff/libmp4ff.la
> -lmp4v2 -lmp4v2
> mkdir .libs
> libtool: link: cannot find the library `/usr/lib/libstdc++.la'
> make[5]: *** [faad] Error 1

This means that one of

libfaad.la
libmp4ff.la
libmp4v2.la

still have /usr/lib/libstdc++.la in their dependency_libs line.

You are sure that there are no precompiled 10.1 binary packages on your
system, not even libmp4v2?

> The other option is that You include the cinelerra application in the
> building service, for include it in the distro.
> Opensuse do'nt has any acceptable video editor, and I mean cinelerra
> is the best opensource option.

Cinelerra will never be distributed on any opensuse.org server because
it depends on libraries that implement patented algorithms.

As you can see above, there are libfaad and libmp4ff and libmp4v2 linked
in => Sorry, not possible.

There are video editors that depend only on free codecs in the distro.

Andreas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] libstdc++.la library

2006-10-31 Thread Juan Erbes

2006/10/31, Andreas Hanke <[EMAIL PROTECTED]>:

Juan Erbes schrieb:
> I have downloaded the cinelerra sources, and building from zero, I got
> the same error:
>
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../common/faad
> -I../common/mp4ff   -O2 -g -O2 -MT audio.o -MD -MP -MF
> ".deps/audio.Tpo" -c -o audio.o audio.c; \
>then mv -f ".deps/audio.Tpo" ".deps/audio.Po"; else rm -f
> ".deps/audio.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../common/faad
> -I../common/mp4ff   -O2 -g -O2 -MT getopt.o -MD -MP -MF
> ".deps/getopt.Tpo" -c -o getopt.o `test -f '../common/faad/getopt.c'
> || echo './'`../common/faad/getopt.c; \
>then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f
> ".deps/getopt.Tpo"; exit 1; fi
> /bin/sh ../libtool --mode=link g++ -O2 -g -O2   -o faad  main.o
> audio.o getopt.o ../libfaad/libfaad.la ../common/mp4ff/libmp4ff.la
> -lmp4v2 -lmp4v2
> mkdir .libs
> libtool: link: cannot find the library `/usr/lib/libstdc++.la'
> make[5]: *** [faad] Error 1

This means that one of

libfaad.la
libmp4ff.la
libmp4v2.la

still have /usr/lib/libstdc++.la in their dependency_libs line.

You are sure that there are no precompiled 10.1 binary packages on your
system, not even libmp4v2?


Yes I have installed from the packman repo some binaries, and I have:
/usr/lib/libfaad.la
/usr/lib/libmp4v2.la
But I do'nt remember from what packages they are.

Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] libstdc++.la library

2006-10-31 Thread Juan Erbes

2006/10/31, Andreas Hanke <[EMAIL PROTECTED]>:


This means that one of

libfaad.la
libmp4ff.la
libmp4v2.la

still have /usr/lib/libstdc++.la in their dependency_libs line.

You are sure that there are no precompiled 10.1 binary packages on your
system, not even libmp4v2?



I have in /usr/lib about 300 files of .la libraries.
I mean that I need to format the system disk and installing from zero.
What You mean?

Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] libstdc++.la library

2006-10-31 Thread Andreas Hanke
Juan Erbes schrieb:
> Yes I have installed from the packman repo some binaries, and I have:
> /usr/lib/libfaad.la
> /usr/lib/libmp4v2.la
> But I do'nt remember from what packages they are.

OK, then please do:

rpm -qf /usr/lib/libfaad.la
rpm -qf /usr/lib/libmp4v2.la

This will tell you which packages they belong to. These packages need to
be rebuilt.

Alternatively, you can manually remove all references to libstdc++.la
from them:

sed -i 's/\/usr\/lib\/libstdc++.la//g' /usr/lib/libfaad.la
sed -i 's/\/usr\/lib\/libstdc++.la//g' /usr/lib/libmp4v2.la

In general, you can't take binary packages from distro X and install
them on distro X+1. It's sometimes working, but fails often in rather
obscure ways.

Andreas Hanke
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] libstdc++.la library

2006-10-31 Thread Andreas Hanke
Juan Erbes schrieb:
> I have in /usr/lib about 300 files of .la libraries.
> I mean that I need to format the system disk and installing from zero.
> What You mean?

No, of course not.

You need to identify which of these .la files come from old binary
packages that have been built for an earlier distribution, and re-build
them (but just these old packages and not all).

Or remove the libstdc++.la references manually from these affected/old
files.

Andreas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] libstdc++.la library

2006-10-31 Thread Juan Erbes

2006/10/31, Andreas Hanke <[EMAIL PROTECTED]>:

Juan Erbes schrieb:
> I have in /usr/lib about 300 files of .la libraries.
> I mean that I need to format the system disk and installing from zero.
> What You mean?

No, of course not.

You need to identify which of these .la files come from old binary
packages that have been built for an earlier distribution, and re-build
them (but just these old packages and not all).

Or remove the libstdc++.la references manually from these affected/old
files.



Why I know if one of the 320 files is referenced to libstdc++.la?

Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] libstdc++.la library

2006-10-31 Thread Juan Erbes

2006/10/31, Andreas Hanke <[EMAIL PROTECTED]>:

Juan Erbes schrieb:
> I have in /usr/lib about 300 files of .la libraries.
> I mean that I need to format the system disk and installing from zero.
> What You mean?

No, of course not.

You need to identify which of these .la files come from old binary
packages that have been built for an earlier distribution, and re-build
them (but just these old packages and not all).

Or remove the libstdc++.la references manually from these affected/old
files.


I do:
/usr/lib # sed -i 's/\/usr\/lib\/libstdc++.la//g' *.la
It's right?

Thanks again
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] libstdc++.la library

2006-10-31 Thread Andreas Hanke
Juan Erbes schrieb:
> Why I know if one of the 320 files is referenced to libstdc++.la?

Only those from the PackMan repo and other non-SUSE repos have
references to libstdc++.la, and only if they are build for distros <
10.2. Once there is a 10.2 PackMan repo with packages specifically built
for 10.2, you don't need to worry any more.

I recommend just waiting until 10.2 goes Gold. But if you need to build
Cinelerra now, you have multiple options, please pick whatever you like:

1) Identify the PackMan packages ("rpm -qa | grep '\.pm\.') and rebuild
them instead of using the 10.1 binaries.

2) Remove the libstdc++.la references manually whenever you find one:

sed -i 's/\/usr\/lib\/libstdc++.la//g' /usr/lib/libfaad.la
sed -i 's/\/usr\/lib\/libstdc++.la//g' /usr/lib/libmp4v2.la

3) Remove them from all .la files even without checking if there are any:

sed -i 's/\/usr\/lib\/libstdc++.la//g' /usr/lib/lib*.la

If you just want to know whether there are any further libstdc++.la
references, you can do:

grep -Ho '/usr/lib/libstdc++\.la' /usr/lib/lib*.la

Do whatever you prefer. I recommend (2) for now, you can still do (3)
later if you hit more problems.

Andreas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] libstdc++.la library

2006-10-31 Thread Juan Erbes

2006/10/31, Andreas Hanke <[EMAIL PROTECTED]>:

Juan Erbes schrieb:
> Why I know if one of the 320 files is referenced to libstdc++.la?

Only those from the PackMan repo and other non-SUSE repos have
references to libstdc++.la, and only if they are build for distros <
10.2. Once there is a 10.2 PackMan repo with packages specifically built
for 10.2, you don't need to worry any more.

I recommend just waiting until 10.2 goes Gold. But if you need to build
Cinelerra now, you have multiple options, please pick whatever you like:

1) Identify the PackMan packages ("rpm -qa | grep '\.pm\.') and rebuild
them instead of using the 10.1 binaries.

2) Remove the libstdc++.la references manually whenever you find one:

sed -i 's/\/usr\/lib\/libstdc++.la//g' /usr/lib/libfaad.la
sed -i 's/\/usr\/lib\/libstdc++.la//g' /usr/lib/libmp4v2.la

3) Remove them from all .la files even without checking if there are any:

sed -i 's/\/usr\/lib\/libstdc++.la//g' /usr/lib/lib*.la

If you just want to know whether there are any further libstdc++.la
references, you can do:

grep -Ho '/usr/lib/libstdc++\.la' /usr/lib/lib*.la

Do whatever you prefer. I recommend (2) for now, you can still do (3)
later if you hit more problems.



Many Thanks and Best Regards,
 Juan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] libstdc++.la library

2006-10-31 Thread Andras Mantia
On Wednesday 01 November 2006 02:07, Juan Erbes wrote:
> I do:
> /usr/lib # sed -i 's/\/usr\/lib\/libstdc++.la//g' *.la
> It's right?

if you are not familiar with CLI commands, you might use Midnight 
Commander or some GUI application. ;-) In mc search for *.la files 
containing libstdc++ and put the result in a list and if there aren't 
too many, you can manually edit them. In KDE you may use KFileReplace 
to remove la libstdc++ references.

Andras
-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org


pgpnaIYr5HgRD.pgp
Description: PGP signature


Re: [opensuse-factory] libstdc++.la library

2006-11-01 Thread Pascal Bleser
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andreas Hanke wrote:
> Juan Erbes schrieb:
>> Why I know if one of the 320 files is referenced to libstdc++.la?
> 
> Only those from the PackMan repo and other non-SUSE repos have
> references to libstdc++.la, and only if they are build for distros <
> 10.2. Once there is a 10.2 PackMan repo with packages specifically built
> for 10.2, you don't need to worry any more.

What makes you think that ?

AFAIK no one at Packman (nor do I with my packages) removes the .la
files from the -devel packages, not even if they are for >= 10.2.

Referencing libstdc++.la (c|sh)ould be seen as a bug (at least I've been
bashed for filing that on bugzilla, or rather, for asking where the heck
libstdc++.la is on 10.2 ^^).

If it is, it should be discussed with those package maintainers at Packman.

cheers
- --
  -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
  /\\ <[EMAIL PROTECTED]>   <[EMAIL PROTECTED]>
 _\_v The more things change, the more they stay insane.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFFSHR2r3NMWliFcXcRAqCpAJ93QKB8L9vyOw0VwPrYF+A7TXDlqQCgndmv
+bTbfCY/Cy1gp4k7PSzHNXw=
=qOyU
-END PGP SIGNATURE-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] libstdc++.la library

2006-11-01 Thread Andras Mantia
On Wednesday 01 November 2006 12:18, Pascal Bleser wrote:
> What makes you think that ?
>
> AFAIK no one at Packman (nor do I with my packages) removes the .la
> files from the -devel packages, not even if they are for >= 10.2.
>
> Referencing libstdc++.la (c|sh)ould be seen as a bug (at least I've
> been bashed for filing that on bugzilla, or rather, for asking where
> the heck libstdc++.la is on 10.2 ^^).
>
> If it is, it should be discussed with those package maintainers at
> Packman.

You misunderstood. 10.1 has libstdc++.la and Packman packages built on 
10.1 will have .la files referencing to this  libstdc++.la. 10.2 
doesn't have  libstdc++.la, so if you have on your 10.2 system Packman 
packages built for 10.1 and you try to build applications from source 
you might run into this error. Once Packman packages will be built on 
10.2, there won't be any problem as their .la files will not have any 
reference to  libstdc++.la.

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org


pgpJQg0lwp8wM.pgp
Description: PGP signature


Re: [opensuse-factory] libstdc++.la library

2006-11-01 Thread Andreas Hanke
Pascal Bleser schrieb:
>> Only those from the PackMan repo and other non-SUSE repos have
>> references to libstdc++.la, and only if they are build for distros <
>> 10.2. Once there is a 10.2 PackMan repo with packages specifically built
>> for 10.2, you don't need to worry any more.
> 
> What makes you think that ?

I'm convinced that you're not re-using old binary packages, but
rebuilding everything from scratch. That makes me think that.

> AFAIK no one at Packman (nor do I with my packages) removes the .la
> files from the -devel packages, not even if they are for >= 10.2.

You don't need to remove anything. Rebuilding everything is sufficient.

I have just verified that rebuilding mpeg4ip on a clean 10.2 system with
no old binary packages on it results in a libmp4v2.la that has no
references to /usr/lib/libstdc++.la in it. Nothing had to be removed
manually in order to achieve that.

libtool asks for libstdc++.la only if one of the other .la files in the
chain references it, and other .la files only reference it if
libstdc++.la existed when the package was built.

The conclusion is that cleanly rebuilding everything solves the problem.
Given that libstdc++.la has been removed months ago and that there are
4000 source packages in the distribution which are all still building,
and given that re-using old binary packages is broken anyway, I don't
think that this breaks builds which wouldn't have been broken anyway
until a build log shows it.

> If it is, it should be discussed with those package maintainers at
> Packman.

I don't know what needs to be discussed here, re-using old binary
packages is clearly broken, cannot work for all kinds of other reasons
besides this one and we don't know if it has been discussed even with
the package maintainers at SUSE. I doubt it, but don't know it.

A package maintainer shouldn't even notice the absense of libstdc++.la.

If I read and understand correctly what anyone can read on
[opensuse-bugs] and [opensuse-commit], the usual practice is that a
package maintainer changes whatever he likes and the others follow it by
fixing their failed builds, if any. Maybe these discussions behind
closed doors where the community is locked out don't exist at all.

Andreas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]