LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 02-17-2003, 07:59 AM   #1
hhegab
Member
 
Registered: Apr 2002
Location: IL, USA
Distribution: Fedora 13, Ubuntu 10.04 LTS
Posts: 162

Rep: Reputation: 30
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
 
Old 02-17-2003, 08:01 AM   #2
hhegab
Member
 
Registered: Apr 2002
Location: IL, USA
Distribution: Fedora 13, Ubuntu 10.04 LTS
Posts: 162

Original Poster
Rep: Reputation: 30
PS.
I use Mandrake version 9.0 now!

hhegab
 
Old 07-17-2003, 06:14 PM   #3
andy18
Member
 
Registered: Oct 2002
Location: Malaysia
Posts: 106

Rep: Reputation: 15
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???
 
Old 07-17-2003, 07:58 PM   #4
andy18
Member
 
Registered: Oct 2002
Location: Malaysia
Posts: 106

Rep: Reputation: 15
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
 
Old 07-18-2003, 10:46 AM   #5
andy18
Member
 
Registered: Oct 2002
Location: Malaysia
Posts: 106

Rep: Reputation: 15
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?
 
Old 07-19-2003, 08:25 PM   #6
hhegab
Member
 
Registered: Apr 2002
Location: IL, USA
Distribution: Fedora 13, Ubuntu 10.04 LTS
Posts: 162

Original Poster
Rep: Reputation: 30
hay andy!
it seems that there is no body here but me and you!

hhegab
 
Old 07-20-2003, 08:46 AM   #7
andy18
Member
 
Registered: Oct 2002
Location: Malaysia
Posts: 106

Rep: Reputation: 15
Hi hhegab,

yaya ....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fontconfig expat xml parse PROBLEMS!! OrganicOrange84 Linux - Software 0 08-18-2004 12:35 PM
php? expat? apache? tisource Linux - Software 3 04-20-2003 01:38 PM


All times are GMT -5. The time now is 01:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration