Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th October 2005, 02:32 AM
jattoo Offline
Registered User
 
Join Date: Jul 2004
Posts: 9
error: array type has incomplete element type

Hello every one,
I am learning my way thru' linux FC distro's, I have been trying to install php but got the following error
make
gcc -Iext/libxml/ -I/home/contehm/mydownloads/php-5.0.3/ext/libxml/ -DPHP_ATOM_INC -I/home/contehm/mydownloads/php-5.0.3/include -I/home/contehm/mydownloads/php-5.0.3/main -I/home/contehm/mydownloads/php-5.0.3 -I/home/contehm/mydownloads/php-5.0.3/Zend -I/usr/include/libxml2 -I/home/contehm/mydownloads/php-5.0.3/TSRM -g -O2 -c /home/contehm/mydownloads/php-5.0.3/ext/libxml/libxml.c -o ext/libxml/libxml.o && echo > ext/libxml/libxml.lo
In file included from /home/contehm/mydownloads/php-5.0.3/Zend/zend_API.h:26,
from /home/contehm/mydownloads/php-5.0.3/main/php.h:38,
from /home/contehm/mydownloads/php-5.0.3/ext/libxml/libxml.c:28:
/home/contehm/mydownloads/php-5.0.3/Zend/zend_modules.h:34: error: array type has incomplete element type
/home/contehm/mydownloads/php-5.0.3/Zend/zend_modules.h:35: error: array type has incomplete element type
/home/contehm/mydownloads/php-5.0.3/Zend/zend_modules.h:36: error: array type has incomplete element type
/home/contehm/mydownloads/php-5.0.3/Zend/zend_modules.h:37: error: array type has incomplete element type
/home/contehm/mydownloads/php-5.0.3/Zend/zend_modules.h:38: error: array type has incomplete element type
make: *** [ext/libxml/libxml.lo] Error 1

If any one have any clues, Please help me, I am about to give up on Fedora.
Thanx
Please give specific instructions on resolving this issue, cause I am a wannabe expert.
Reply With Quote
  #2  
Old 7th October 2005, 02:57 AM
mjman Offline
Registered User
 
Join Date: Oct 2004
Posts: 286
why not just `yum install php` ?
Reply With Quote
  #3  
Old 7th October 2005, 03:44 AM
jattoo Offline
Registered User
 
Join Date: Jul 2004
Posts: 9
I have tried that but I always got the following:
Added 37 new packages, deleted 0 old in 24.81 seconds
Parsing package install arguments
Nothing to do
All I want to do is istall a home webserver just for learning and I have been following one of the post on the forum by someone, but I could not get php to install right.
Reply With Quote
  #4  
Old 7th October 2005, 04:07 AM
mjman Offline
Registered User
 
Join Date: Oct 2004
Posts: 286
The "Nothing to do" message means that you already have php installed. What is the output of
Code:
rpm -q php
?
Reply With Quote
  #5  
Old 7th October 2005, 05:18 AM
jattoo Offline
Registered User
 
Join Date: Jul 2004
Posts: 9
This is what I got

php-5.0.4-10.4, I guess its not configure then
Reply With Quote
Reply

Tags
array, element, error, incomplete, type

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
expecting a reference package element found type 0 Raskula Hardware & Laptops 4 4th January 2009 01:31 PM
error: dereferencing pointer to incomplete type Maninder Servers & Networking 0 11th May 2008 10:23 AM
BCM43xx Device Type Error leflores80 Servers & Networking 0 4th June 2007 11:49 PM
Error: mount: you must specify the filesystem type panamaszr12 Using Fedora 8 24th January 2006 08:47 PM
evolution error ( can't type in Calendar section ) ferlin Using Fedora 0 16th July 2005 04:31 AM


Current GMT-time: 22:58 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat