Installing Gnome and "Out of Memory" xml2po

Keith J. Schultz keithjschultz at web.de
Fri Jul 20 02:43:50 PDT 2007


Hi Everybody,

	I have been trying to install Gnome for some time now and ran into  
the problem
	that in the port zenity and file-roller I would get the following  
error message:

Making all in help
if ! test -d bg/; then mkdir bg/; fi
if [ -f "C/zenity.xml" ]; then d="../"; else d="/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_z 
enity/work/zenity-2.18.2/help/"; fi; \
(cd bg/ && \
   `which xml2po` -e -p \
     "${d}bg/bg.po" \
     "${d}C/zenity.xml" > zenity.xml.tmp && \
     cp zenity.xml.tmp zenity.xml && rm -f zenity.xml.tmp)
Python(301) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Python(301) malloc: *** error: can't allocate region


and

Making all in help
if ! test -d bg/; then mkdir bg/; fi
if [ -f "C/file-roller.xml" ]; then d="../"; else d="/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_f 
ile-roller/work/file-roller-2.18.3/help/"; fi; \
(cd bg/ && \
   `which xml2po` -e -p \
     "${d}bg/bg.po" \
     "${d}C/file-roller.xml" > file-roller.xml.tmp && \
     cp file-roller.xml.tmp file-roller.xml && rm -f file- 
roller.xml.tmp)
Python(8342) malloc: *** vm_allocate(size=1069056) failed (error code=3)
Python(8342) malloc: *** error: can't allocate region
Python(8342) malloc: *** set a breakpoint in szone_error to debug

	At first I thought it was xml2po or Python, but this is not the case !!
	As gnome-doc-utils installs correctly and xml2po and python work O.K.
	I can only assume that the problem is in the help files zenity.xml and
	file-roller.xml. The reason why a say this that after I modified the  
Makefile in
	.../work/<port>/help/ not to build the foreign language help files  
file-roller and
	zenity installed!

	I am not to xml savvy nor into this ports stuff could some look into  
it see what is
	going wrong. Maybe a bad config file or the xmls themselves !!

	I will try submitting a ticket next week.

	regards
		Keith.




More information about the macports-users mailing list