Re: getop.h conflict when building audio/akode

2006-03-31 Thread Dan Nelson
In the last episode (Mar 31), Olivier Nicole said:
  Deinstall the libgnugetopt port - it's only needed on FreeBSD
  releases earlier than 5.x and causes buildtime errors on later
  versions (as you found out).
 
 Thanks. After I managed to rebuild audio/akode, it seems that it was not
 depending on libgnugetopt anymore.
 
 I cannot get rid of libgnugetopt though because it is needed for
 libmal (?) thatis needed for KDE.

No ports depend on libgnugetopt at all any more; if this is a 5.x
system that still has ports/packages from 5.0 or 5.1, rebuild them and
they will compile without that dependency.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: getop.h conflict when building audio/akode

2006-03-31 Thread Michael Nottebrock
Olivier Nicole schrieb:
 Deinstall the libgnugetopt port - it's only needed on FreeBSD releases earl=
 ier=20
 than 5.x and causes buildtime errors on later versions (as you found out).
 
 Thanks. After I managed to rebuild audio/akode, it seems that it was not
 depending on libgnugetopt anymore.
 
 I cannot get rid of libgnugetopt though because it is needed for
 libmal (?) thatis needed for KDE.

You can. All functionality that libgnugetopt provides is now included in
FreeBSD's libc.

It's pretty unlikely that you have anything left on your system that
actually *links* to libgnugetopt by now - just deinstalling it and
deleting the recorded dependencies afterwards with pkgdb -F will most
likely work just fine. If you want to make absolutely sure, delete
libgnugetopt and then recompile every port that had a dependency on it
recorded.

Cheers,
-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org



signature.asc
Description: OpenPGP digital signature


Re: getop.h conflict when building audio/akode

2006-03-30 Thread Michael Nottebrock
On Thursday, 30. March 2006 09:08, Olivier Nicole wrote:

 Ports are up to date (30 minutes ago)
 That usr/local/include/getopt.h comes from libgnugetopt-1.2 (up to date
 too)

Deinstall the libgnugetopt port - it's only needed on FreeBSD releases earlier 
than 5.x and causes buildtime errors on later versions (as you found out).


Cheers,
-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgpUBLYznD7B2.pgp
Description: PGP signature


Re: getop.h conflict when building audio/akode

2006-03-30 Thread Olivier Nicole
 Deinstall the libgnugetopt port - it's only needed on FreeBSD releases earl=
 ier=20
 than 5.x and causes buildtime errors on later versions (as you found out).

Thanks. After I managed to rebuild audio/akode, it seems that it was not
depending on libgnugetopt anymore.

I cannot get rid of libgnugetopt though because it is needed for
libmal (?) thatis needed for KDE.

Bests

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


getop.h conflict when building audio/akode

2006-03-29 Thread Olivier Nicole
Hi,

I try to portinstall audio/akode (needed by kde) and I get the
following error:

labtoproot52: /usr/local/sbin/portinstall audio/akode
[...]
then mv -f .deps/akodeplay.Tpo .deps/akodeplay.Po; else rm -f 
.deps/akodeplay.Tpo; exit 1; fi
In file included from akodeplay.cpp:29:
/usr/local/include/getopt.h:115: error: declaration of C function `int 
getopt()' conflicts with
/usr/include/unistd.h:376: error: previous declaration `int getopt(int, char* 
const*, const char*)' here
gmake[1]: *** [akodeplay.o] Error 1
gmake[1]: Leaving directory 
`/usr/ports/audio/akode/work/akode-2.0/akode/akodeplay'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/audio/akode.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall59136.0 
make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! audio/akode   (new compiler error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
labtoproot53: 

System is 5.4-p13
Ports are up to date (30 minutes ago)
That usr/local/include/getopt.h comes from libgnugetopt-1.2 (up to date too)

Best regards, 

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]