LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   expat!!! (http://www.linuxquestions.org/questions/linux-software-2/expat-45786/)

hhegab 02-17-2003 08:59 AM

expat!!!
 
Hi,
I have downloaded AbiWord1.0.2 mandrake cooker version.
It said that expat>=1.95.1 is needed, I have d/l the version 1.95.6 from Sourceforge.net. But the error is still there, what should I do?

hhegab

hhegab 02-17-2003 09:01 AM

PS.
I use Mandrake version 9.0 now!

hhegab

andy18 07-17-2003 07:14 PM

Hi,

I have downloaded the expat 1.9.5-2.1 from the net and when I am trying to install the expat :

root@abc [/tmp]# rpm -Uvh expat-1.95.2-1.i686.rpm

error: failed dependencies:
expat = 1.95.1 is needed by expat-devel-1.95.1-7


root@abc [/tmp]# rpm -qa | grep 'expat'
expat-devel-1.95.1-7
expat-1.95.1-7


Why it cannot upgrade???
:confused:

andy18 07-17-2003 08:58 PM

Hi,

I have fixed the problem by installing the expat-1.95.2-1.i686.rpm and expat-devel-1.95.2-1.i686.rpm together

Then I compile php 4.3.2 with :

'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-mcrypt' '--enable-magic-quotes' '--with-mysql' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--enable-versioning' '--with-zlib' '--disable-xml' '--with-expat-dir=/usr/local' '--enable-xslt' '--with-xslt-sablot=/usr/local' '--with-expat-dir=/usr/local'

When I run make , it returns the following error :

/usr/lib/libsablot.so: undefined reference to `JS_SetPrototype'
> > /usr/lib/libsablot.so: undefined reference to `JS_PropertyStub'
> > /usr/lib/libsablot.so: undefined reference to `JS_GC'
> > /usr/lib/libsablot.so: undefined reference to `JS_IsExceptionPending'
> > /usr/lib/libsablot.so: undefined reference to `JS_GetPrivate'
> > /usr/lib/libsablot.so: undefined reference to `JS_EvaluateScript'
> > /usr/lib/libsablot.so: undefined reference to `JS_NewObject'
> > /usr/lib/libsablot.so: undefined reference to `JS_GetClass'
> > /usr/lib/libsablot.so: undefined reference to `JS_DefineProperties'
> > /usr/lib/libsablot.so: undefined reference to `JS_NewDoubleValue'
> > /usr/lib/libsablot.so: undefined reference to `JS_GetProperty'
> > /usr/lib/libsablot.so: undefined reference to `JS_IdToValue'
> > /usr/lib/libsablot.so: undefined reference to `JS_GetGlobalObject'
> > /usr/lib/libsablot.so: undefined reference to `JS_ValueToNumber'
> > /usr/lib/libsablot.so: undefined reference to `JS_GetStringBytes'
> > /usr/lib/libsablot.so: undefined reference to `JS_AddRoot'
> > /usr/lib/libsablot.so: undefined reference to `JS_DestroyContext'
> > /usr/lib/libsablot.so: undefined reference to `JS_ValueToFunction'
> > /usr/lib/libsablot.so: undefined reference to `JS_ValueToString'
> > /usr/lib/libsablot.so: undefined reference to `JS_SetProperty'
> > /usr/lib/libsablot.so: undefined reference to `JS_SetContextPrivate'
> > /usr/lib/libsablot.so: undefined reference to `JS_MaybeGC'
> > /usr/lib/libsablot.so: undefined reference to `JS_GetArrayLength'
> > /usr/lib/libsablot.so: undefined reference to `JS_DefineFunctions'
> > /usr/lib/libsablot.so: undefined reference to `JS_FinalizeStub'
> > /usr/lib/libsablot.so: undefined reference to `JS_ConstructObject'
> > /usr/lib/libsablot.so: undefined reference to `JS_DestroyIdArray'
> > /usr/lib/libsablot.so: undefined reference to `JS_NewStringCopyN'
> > /usr/lib/libsablot.so: undefined reference to `JS_SetPendingException'
> > /usr/lib/libsablot.so: undefined reference to `JS_EnumerateStub'
> > /usr/lib/libsablot.so: undefined reference to `JS_NewArrayObject'
> > /usr/lib/libsablot.so: undefined reference to `JS_NewContext'
> > /usr/lib/libsablot.so: undefined reference to `JS_NewStringCopyZ'
> > /usr/lib/libsablot.so: undefined reference to `JS_InitClass'
> > /usr/lib/libsablot.so: undefined reference to `JS_Init'
> > /usr/lib/libsablot.so: undefined reference to `JS_SetElement'
> > /usr/lib/libsablot.so: undefined reference to `JS_GetPrototype'
> > /usr/lib/libsablot.so: undefined reference to `JS_DefineObject'
> > /usr/lib/libsablot.so: undefined reference to `JS_GetElement'
> > /usr/lib/libsablot.so: undefined reference to `JS_DefineFunction'
> > /usr/lib/libsablot.so: undefined reference to `JS_GetContextPrivate'
> > /usr/lib/libsablot.so: undefined reference to `JS_ResolveStub'
> > /usr/lib/libsablot.so: undefined reference to `JS_RemoveRoot'
> > /usr/lib/libsablot.so: undefined reference to
> `JS_ClearPendingException'
> > /usr/lib/libsablot.so: undefined reference to `JS_CallFunctionName'
> > /usr/lib/libsablot.so: undefined reference to `JS_ReportError'
> > /usr/lib/libsablot.so: undefined reference to `JS_Finish'
> > /usr/lib/libsablot.so: undefined reference to `JS_DeleteProperty'
> > /usr/lib/libsablot.so: undefined reference to `JS_SetErrorReporter'
> > /usr/lib/libsablot.so: undefined reference to `JS_SetPrivate'
> > /usr/lib/libsablot.so: undefined reference to `JS_GetFunctionName'
> > /usr/lib/libsablot.so: undefined reference to `JS_ConvertStub'
> > /usr/lib/libsablot.so: undefined reference to `JS_InitStandardClasses'
> > /usr/lib/libsablot.so: undefined reference to `JS_DeleteElement'
> > /usr/lib/libsablot.so: undefined reference to `JS_Enumerate'
> > collect2: ld returned 1 exit status


Am I missing something?

Thanks

andy18 07-18-2003 11:46 AM

Hi,

Ok..finally I get my way from this issue by adding compiling the php with 'with-sablot-js=DIR' and the error disappear.

Unfortunately , I am in another big big trouble ...:(

after I recompile and make install the php , all our php page cannot be shown up in the browser , it prompts for download ...
I have checked on the httpd.conf of the AddType and the php extension is there..I also make sure the ZLIB compression is off in the php.ini file..

what else do I miss out?:confused:

hhegab 07-19-2003 09:25 PM

hay andy!
it seems that there is no body here but me and you!

hhegab :)

andy18 07-20-2003 09:46 AM

Hi hhegab,

yaya ....:p


All times are GMT -5. The time now is 05:21 PM.