Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

php-gtk build errors

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
tcom
n00b
n00b
Posts: 1
Joined: Wed Mar 09, 2005 12:59 pm

php-gtk build errors

  • Quote

Post by tcom » Wed Mar 09, 2005 1:01 pm

Hi Guys & Gals,

I'm having my FIRST :) troubles with building a package!

Here's the error.
Anideas anyone?

Cheers, for the assistance,

Mark.

Calculating dependencies ...done!
[ebuild N ] dev-php/php-gtk-1.0.0
[ebuild N ] net-dialup/pptpconfig-20040722

Do you want me to merge these packages? [Yes/No] yes
>>> emerge (1 of 2) dev-php/php-gtk-1.0.0 to /
>>> md5 src_uri ;-) php-gtk-1.0.0.tar.gz
>>> Unpacking source...
>>> Unpacking php-gtk-1.0.0.tar.gz to /var/tmp/portage/php-gtk-1.0.0/work
>>> Source unpacked.
configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/auto ... ng-aclocal
configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR
configure.in:33: warning: underquoted definition of PHP_EXT_DIR
configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR
configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
config.m4:30: file `php_gtk.m4' does not exist
make: *** [buildmk.stamp] Error 1
configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/auto ... ng-aclocal
configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR
configure.in:33: warning: underquoted definition of PHP_EXT_DIR
configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR
configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
config.m4:30: file `php_gtk.m4' does not exist

!!! ERROR: dev-php/php-gtk-1.0.0 failed.
!!! Function econf, Line 488, Exitcode 1
!!! no configure script found
!!! If you need support, post the topmost build error, NOT this status message.
Top
firepoet
n00b
n00b
Posts: 8
Joined: Wed Dec 01, 2004 1:12 pm

Same here..

  • Quote

Post by firepoet » Wed Mar 09, 2005 2:35 pm

I also am having this exact error..
Top
corefile
n00b
n00b
Posts: 44
Joined: Thu Jun 27, 2002 7:02 am

same

  • Quote

Post by corefile » Fri Mar 11, 2005 5:16 pm

Make that three I have the same error:

Looks the the problem is
configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
config.m4:30: file `php_gtk.m4' does not exist
make: *** [buildmk.stamp] Error 1
configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG
run info '(automake)Extending aclocal'


BUMMER, wish I new enough about programming to fix it.
Top
hjnenc
Veteran
Veteran
User avatar
Posts: 1599
Joined: Sun Aug 15, 2004 5:49 am
Location: Vienna, Austria

  • Quote

Post by hjnenc » Fri Mar 11, 2005 5:23 pm

See also here: http://bugs.gentoo.org/show_bug.cgi?id=80250 (No real solution yet but some more info)
Top
corefile
n00b
n00b
Posts: 44
Joined: Thu Jun 27, 2002 7:02 am

found a fix

  • Quote

Post by corefile » Fri Mar 11, 2005 5:35 pm

Actually I just found a fix

This bug report http://bugs.gentoo.org/show_bug.cgi?id=61559 has a new ebuild in the attachments section.

put the php-gtk 1.0.1 ebuild in /usr/portage/dev-php/php-gtk/

emerge php-gtk

it will ask you to run the following command part way into the emerge

ebuild /usr/portage/dev-php/php-gtk/php-gtk-1.0.1.ebuild digest

then just run emerge php-gtk

work for me, ymmv
Top
B@rtW@re
n00b
n00b
User avatar
Posts: 29
Joined: Mon Jun 07, 2004 8:00 am

  • Quote

Post by B@rtW@re » Wed Mar 23, 2005 1:02 pm

Worked fo me too!!

thanks
Top
anunakin
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 101
Joined: Mon May 31, 2004 11:37 am

  • Quote

Post by anunakin » Tue Apr 05, 2005 1:47 pm

Thank you man! :lol:
Anunakin (Marcus Fazzi)
PHP/Java/C++ Developer
Sony PS3 JPN 60GB, with Gentoo Linux + HDD 160GB
Sony PS2 50001, with PS2Linux, HDD 80GB
Top
tcma
Apprentice
Apprentice
Posts: 208
Joined: Mon Jun 28, 2004 12:16 am

php-gtk-1.0.0 failed to compile

  • Quote

Post by tcma » Wed Apr 20, 2005 11:39 am

emerge pptpconfig need php-gtk which fails to compile.

# ACCEPT_KEYWORDS="~x86" emerge pptpconfig
Calculating dependencies ...done!
>>> emerge (1 of 2) dev-php/php-gtk-1.0.0 to /
>>> md5 files ;-) php-gtk-1.0.0.ebuild
>>> md5 files ;-) ChangeLog
>>> md5 files ;-) metadata.xml
>>> md5 files ;-) files/digest-php-gtk-1.0.0
>>> md5 src_uri ;-) php-gtk-1.0.0.tar.gz
>>> Unpacking source...
>>> Unpacking php-gtk-1.0.0.tar.gz to /var/tmp/portage/php-gtk-1.0.0/work
>>> Source unpacked.
Configuring for:
PHP Api Version: 20031224
Zend Module Api No: 20041030
Zend Extension Api No: 220040412
rebuilding configure
Configuring for:
PHP Api Version: 20031224
Zend Module Api No: 20041030
Zend Extension Api No: 220040412
* econf: updating php-gtk-1.0.0/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating php-gtk-1.0.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-php-gtk=shared --enable-glade
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.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM
checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20041030
checking for re2c... exit 0;
checking for gawk... gawk
checking for PHP-GTK support... yes, shared
checking for gawk... (cached) gawk
checking for PHP executable in /usr/bin... found
checking for GtkCanvas support... no
checking for GtkComboButton support... yes
checking for Gtkextra support... no
checking for GdkPixbuf support... no
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.6... yes
checking for gtkhtml support... no
checking for Gdkimlib support... no
checking for libglade support... yes
checking for libglade-config... /usr/bin/libglade-config
checking for libglade... yes
checking for GtkPieMenu support... yes
checking for Scintilla support... no
checking for GtkScrollpane support... yes
checking for GtkSPaned support... yes
checking for GtkSQPane support... yes
checking whether to include debugging symbols... no
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse nm output... ok
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for objdir... .libs
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.lo... yes
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
configure: creating ./config.status
config.status: creating config.h
/usr/bin/php -f /var/tmp/portage/php-gtk-1.0.0/work/php-gtk-1.0.0/generator/generator.php -- -o ext/gtk%2b/gtk.overrides -p Gtk -r /var/tmp/portage/php-gtk-1.0.0/work/php-gtk-1.0.0/ext/gtk%2b/gdk.defs ext/gtk%2b/gtk.defs > ext/gtk+/gen_gtk.c
make: *** [ext/gtk+/gen_gtk.c] Error 255

!!! ERROR: dev-php/php-gtk-1.0.0 failed.
!!! Function php-ext-source_src_compile, Line 43, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



$ cat /proc/version
Linux version 2.6.11-gentoo-r4 (root@rose) (gcc version 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5)) #3 Wed Apr 20 05:53:43 UTC 2005
TCMa
Top
nichocouk
Guru
Guru
User avatar
Posts: 585
Joined: Thu Mar 10, 2005 11:17 am
Location: Glasgow

How to prevent downgrading software?

  • Quote

Post by nichocouk » Tue Apr 26, 2005 9:13 am

Hi everyone,

does anybody know how to prevent portage to try to downgrade php-gtk-1.1.0 to php-gtk-1.0.0? Each time I do a

Code: Select all

emerge -avuDN world
portage wants to downgrade php-gtk. I have to do

Code: Select all

emerge -pvuDN world
and then type in manually the list of packages i want to upgrade except php-gtk...

Thanks,
nichocouk

L'Etat, c'est moi.
Top
tcma
Apprentice
Apprentice
Posts: 208
Joined: Mon Jun 28, 2004 12:16 am

Re: How to prevent downgrading software?

  • Quote

Post by tcma » Tue Apr 26, 2005 6:08 pm

Where do you find php-gtk-1.1.0?

Do I download the source from
http://gtk.php.net/
and compile it?

I find only php-gtk-1.0.0 at
http://packages.gentoo.org/search/?sstring=php-gtk
nichocouk wrote:Hi everyone,

does anybody know how to prevent portage to try to downgrade php-gtk-1.1.0 to php-gtk-1.0.0? Each time I do a

Code: Select all

emerge -avuDN world
portage wants to downgrade php-gtk. I have to do

Code: Select all

emerge -pvuDN world
and then type in manually the list of packages i want to upgrade except php-gtk...

Thanks,
TCMa
Top
nichocouk
Guru
Guru
User avatar
Posts: 585
Joined: Thu Mar 10, 2005 11:17 am
Location: Glasgow

Re: found a fix

  • Quote

Post by nichocouk » Tue Apr 26, 2005 9:29 pm

To tcma:
corefile wrote:Actually I just found a fix

This bug report http://bugs.gentoo.org/show_bug.cgi?id=61559 has a new ebuild in the attachments section.

put the php-gtk 1.0.1 ebuild in /usr/portage/dev-php/php-gtk/

emerge php-gtk

it will ask you to run the following command part way into the emerge

ebuild /usr/portage/dev-php/php-gtk/php-gtk-1.0.1.ebuild digest

then just run emerge php-gtk

work for me, ymmv
As corefile wrote it (just a few posts above...) you get it from bugs.gentoo.org. Just click on the link above and follow the instructions. It works like a charm!

Anyone having an answer to my previous question?
nichocouk

L'Etat, c'est moi.
Top
Post Reply

11 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic