The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports > Ports Installation and Maintenance

Ports Installation and Maintenance Installing and maintaining the FreeBSD Ports Collection (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old November 2nd, 2009, 20:02
mahashakti89 mahashakti89 is offline
Junior Member
 
Join Date: Nov 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default installing Gnome2 from ports failed

Hi,

I installed FreeBSD 8.0-rc2 , there was no problem at all, then I tried to install gnome 2 from ports. So make install clean works till ... I get following error with libxml2-2.7.6 : Error Code 1

I googled for some answers , but it does'nt work. I tried to remove libxml2 from /usr/ports/distfiles/gnome2 in order to fetch it again, I tried to install the involved packages libxml2 py26-libxml2 with sysinstall, but nothing. Any detailled help would be appreciated.

Thanks

mahashakti89
Reply With Quote
  #2  
Old November 2nd, 2009, 20:17
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 3,330
Thanks: 8
Thanked 440 Times in 415 Posts
Default

We'll need more than 'error code 1', which is meaningless.

Was your ports tree completely up-to-date (i.e. installed and updated with portsnap)? Don't mix packages from a CD with ports. Won't work (at all, or for long).
__________________
FreeBSD Handbook | FreeBSD Manuals | FAQ FreeBSD 6/7 | FreeBSD Wiki | FreeBSD Forum FAQ (Rules & Tips)
Always use CODE tags for posting system output! | End-of-Year Fundraising Drive | Donate!
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #3  
Old November 2nd, 2009, 20:24
mahashakti89 mahashakti89 is offline
Junior Member
 
Join Date: Nov 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by DutchDaemon View Post
We'll need more than 'error code 1', which is meaningless.

Was your ports tree completely up-to-date (i.e. installed and updated with portsnap)? Don't mix packages from a CD with ports. Won't work (at all, or for long).

Iam aware that error code 1 is not enough ... but thi is all I have on screen , the same message for libxml2 gnome-applets and gucharmap , the ports tree is up-to-date , was installed with portnsap.

Thanks

mahashakti
Reply With Quote
  #4  
Old November 2nd, 2009, 22:28
mahashakti89 mahashakti89 is offline
Junior Member
 
Join Date: Nov 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, folks,

Finally I used a pipe to get more detailled messages about what is wrong :
Code:
===>  Building for py26-libxml2-2.7.6
Making all in .
gmake[1]: Entering directory `/usr/ports/textproc/py-libxml2/work/libxml2-2.7.6/python'
/usr/local/bin/python2.6 ./generator.py .
/bin/sh ../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/python2.6 -I../include -I../include -I../python  
-I/usr/local/include -I/usr/local/include  -O2 -pipe -fno-strict-aliasing -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch 
-Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings 
-Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT types.lo -MD -MP -MF 
.deps/types.Tpo -c -o types.lo types.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/python2.6 -I../include -I../include -I../python -I/usr/local/include -I/usr
/local/include -O2 -pipe -fno-strict-aliasing -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat 
-Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes 
-Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT types.lo -MD -MP -MF .deps/types.Tpo -c types.c  -fPIC -DPIC -o 
.libs/types.o
Found 1605 functions in libxml2-api.xml
Found 55 functions in libxml2-python-api.xml
Generated 886 wrapper functions, 558 failed, 216 skipped

Missing type converters: 
xmlRelaxNGValidityErrorFunc *:2  xmlXPathObjectPtr:22  const htmlEntityDesc *:2  xmlOutputMatchCallback:1  xmlElementContentPtr *:1  
xmlStructuredErrorFunc:5  xmlSchematronValidCtxtPtr:3  xmlParserInputBufferCreateFilenameFunc:2  xmlSchemaValType:2  size_t:1  
xmlEnumerationPtr:5  xmlSchemaWildcardPtr:1  xmlXIncludeCtxtPtr:4  xmlRelaxNGValidityErrorFunc:2  xmlSAXHandler *:4  ...:1  
xmlShellReadlineFunc:1  xmlDict *:1  xmlAutomataPtr:19  unsigned long:1  xmlParserInputPtr:17  xmlCatalogAllow:2  xmlExpNodePtr:3  
xmlElementContent *:1  xmlCharEncodingOutputFunc:1  xmlDictPtr:10  xmlTextWriterPtr:77  const htmlElemDesc *:1  xmlChRangeGroup *:1  
xmlIDPtr:1  xmlSchemaValPtr:13  xmlInputMatchCallback:1  xmlElementTablePtr:2  xmlChar **:16  xmlXPathCompExprPtr:6  xmlTextReaderErrorFunc:1  
xmlExternalEntityLoader:2  xmlNotationTablePtr:2  xmlXPathVariableLookupFunc:1  xmlParserNodeInfoPtr:1  xmlExpCtxtPtr:14  xmlPatternPtr:8  
xmlC14NIsVisibleCallback:1  xmlDeregisterNodeFunc:2  va_list:1  xmlSchemaTypePtr:9  htmlStatus:1  xmlRegisterNodeFunc:2  xmlAttributeType:2  
xmlRefPtr:1  xmlCharEncodingHandler *:4  xmlNotationPtr:3  xmlSaveCtxtPtr:8  xmlRegExecCallbacks:1  xmlNsPtr *:1  xmlLocationSetPtr:6  
xmlSchemaSAXPlugPtr:1  xmlModulePtr:4  xmlEnumerationPtr *:2  xmlShellCtxtPtr:10  xlinkNodeDetectFunc:2  xmlRefTablePtr:1  xmlStreamCtxtPtr:6  
xmlSchemaValidityErrorFunc *:2  xmlAttributeTablePtr:2  xmlSchematronParserCtxtPtr:5  xmlCatalogPrefer:1  xmlParserNodeInfoSeqPtr:3  
xmlSchematronPtr:2  xmlNodePtr *:2  xmlInputReadCallback:7  char **:5  xmlCharEncoding:13  xmlRegExecCtxtPtr:5  xmlElementContentType:2  void 
*:87  xmlTextReaderErrorFunc *:1  xmlSAXHandlerPtr *:1  xmlEntityReferenceFunc:1  xmlDocPtr *:1  xmlBufferAllocationScheme:3  
xmlSchemaValidityErrorFunc:2  xmlDOMWrapCtxtPtr:6  xmlOutputWriteCallback:2  xmlSchemaFacetPtr:7  xlinkHandlerPtr:2  xmlXPathFuncLookupFunc:1  
htmlElemDesc *:3  xmlCharEncodingHandlerPtr:7  xmlCharEncodingInputFunc:1  xmlFeature:1  const xmlParserNodeInfo *:1  xmlNodeSetPtr:32  
xmlEntitiesTablePtr:3  xmlIDTablePtr:1  xmlXPathFunction:4  xmlOutputBufferCreateFilenameFunc:2  xmlElementContentPtr:8  xmlElementTypeVal:1  
xlinkType:1  xmlGenericErrorFunc *:1 
touch gen_prog
gmake[1]: Leaving directory `/usr/ports/textproc/py-libxml2/work/libxml2-2.7.6/python'
*** Error code 1

Stop in /usr/ports/textproc/py-libxml2.
*** Error code 1

Stop in /usr/ports/textproc/gnome-doc-utils.
*** Error code 1

Stop in /usr/ports/sysutils/gnome-settings-daemon.
*** Error code 1

Stop in /usr/ports/x11/gnome-applets.
*** Error code 1

Stop in /usr/ports/x11/gnome-applets.
*** Error code 1

Stop in /usr/ports/x11/gnome2.
*** Error code 1

Stop in /usr/ports/x11/gnome2.
Perhaps it's now better for getting help

Thanks

mahashakti89

Last edited by DutchDaemon; November 3rd, 2009 at 02:46.
Reply With Quote
  #5  
Old November 2nd, 2009, 22:53
SirDice's Avatar
SirDice SirDice is offline
Giant Locked
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 2,650
Thanks: 5
Thanked 294 Times in 285 Posts
Default

What version of python is installed?
__________________
Oliver's Law:
Experience is something you don't get until just after you need it.
Reply With Quote
  #6  
Old November 2nd, 2009, 22:57
mahashakti89 mahashakti89 is offline
Junior Member
 
Join Date: Nov 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
What version of python is installed?
Here is the answer :
Code:
checking whether /usr/local/bin/python2.6 version >= 2.0... yes
checking for /usr/local/bin/python2.6 version... 2.6
is that what you need ?

Thanks

mahashakti

Last edited by DutchDaemon; November 3rd, 2009 at 02:47.
Reply With Quote
  #7  
Old November 2nd, 2009, 23:02
SirDice's Avatar
SirDice SirDice is offline
Giant Locked
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 2,650
Thanks: 5
Thanked 294 Times in 285 Posts
Default

Try a # pkg_version -v | grep python
__________________
Oliver's Law:
Experience is something you don't get until just after you need it.
Reply With Quote
  #8  
Old November 2nd, 2009, 23:14
mahashakti89 mahashakti89 is offline
Junior Member
 
Join Date: Nov 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
Try a # pkg_version -v | grep python
O.K. last message , I am going to sleep, but you have it :

Output from command is : python26-2.6.2_3 = up-to-date with port

Good night !

mahashakti89
Reply With Quote
  #9  
Old November 3rd, 2009, 20:33
mahashakti89 mahashakti89 is offline
Junior Member
 
Join Date: Nov 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So, problem is now solved .... I modified some line in the makefile and it works.

Thanks

mahashakti89
Reply With Quote
  #10  
Old November 3rd, 2009, 20:37
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 3,330
Thanks: 8
Thanked 440 Times in 415 Posts
Default

Mind sharing that solution? This is a forum, not the helpdesk.
__________________
FreeBSD Handbook | FreeBSD Manuals | FAQ FreeBSD 6/7 | FreeBSD Wiki | FreeBSD Forum FAQ (Rules & Tips)
Always use CODE tags for posting system output! | End-of-Year Fundraising Drive | Donate!
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #11  
Old Yesterday, 20:35
vitek16 vitek16 is offline
Junior Member
 
Join Date: Sep 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by mahashakti89 View Post
So, problem is now solved .... I modified some line in the makefile and it works.
What is is concrete you have made in Makefile?
Reply With Quote
Reply

Thread Tools
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
[Solved] installing failed Myron Installing & Upgrading 11 November 3rd, 2009 19:08
gnome2 build & old firefox/python ports polishdude Ports Installation and Maintenance 8 September 7th, 2009 19:59
Installing Ports from CD/DVD? beardedsamurai Ports Installation and Maintenance 9 March 25th, 2009 18:18
Unable to build gnome2 from ports thavinci Ports Installation and Maintenance 6 February 27th, 2009 11:08
Installing using ports without internet connection jemate18 Installing & Upgrading 8 January 27th, 2009 09:34


All times are GMT +1. The time now is 09:41.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.