Sponsored Content
Top Forums UNIX for Advanced & Expert Users compiling php5 on solaris 9. please help. Post 302135380 by mtr on Saturday 8th of September 2007 05:43:15 PM
Old 09-08-2007
php + solaris10(sparc) -- Help

Hi,

I have tried in vain to compile from source PHP 5.2.3 with Tidy (HTML Tidy program) on a solaoris10/sparc box.

I cannot use the binary build of PHP since it does not include Tidy.

Is there a a "php-5.2.3-sol10-sparc-local" build that contains Tidy?

Thank you for any assistance or suggestions.


Mark

-----------


Typical simple test config and associated error in the log are:

Config: under /usr/local/src/php-5.2.3

./configure --with-config-file-path=/usr/local/apache2 --with-apxs2=/usr/apache2/bin/apxs --enable-dbase \
--with-libxml-dir=/usr/local --with-curl=/usr/local --with-tidy


Error:

configure:12523: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c 1>&5
Undefined first referenced
symbol in file
socket /var/tmp//ccO8Qzik.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 12500 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char socket(); below. */
ymbol referencing errors. No output written to conftest
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char socket();
 

10 More Discussions You Might Find Interesting

1. Solaris

Error on compiling php for GD on SOLARIS 10

Hi everyone, I have SUn E250 server running solaris 10. I have installed apache 2 + MySQL + PHP-5.1.4 following the guidelines on this website http://meljr.com/~meljr/AMPSolaris10.html Excellent document for first time installation. Now, because I wanted to use Coppermine Photo Gallery, I... (9 Replies)
Discussion started by: callingrohit
9 Replies

2. Programming

Compiling in Solaris

Hi, I'm new to Unix. I'm trying to compile a shared library in Solaris running on x86. I get "void value not ignored as it ought to be" error when trying "make". But it compiles fine in Fedora. How can this happen? I think both are using the same type of compiler. What can I do to get around... (8 Replies)
Discussion started by: runnerb
8 Replies

3. Solaris

Compiling and Running C Program on Solaris

Hello Guys, I am using Solaris Developer Express Edition 9/07, I am a beginner. Please tell me how to compile and execute a C program. Please give me your answers clearly, for the compilers cc,c89,c99. please....... reply to me. I not getting the answer anywhere.. Advance... (2 Replies)
Discussion started by: selva_ss
2 Replies

4. Solaris

compiling Seamonkey 1.1.9 on Solaris 9 sparc

I have gotten tired of getting error messages from SeaMonkey about not being on the latest version. I have downloaded the source for SeaMonkey, and when I attempt to make it with "gmake -f client.mk build" , I get the following error message: configure: error: Library requirements (pango... (0 Replies)
Discussion started by: tderscheid
0 Replies

5. Solaris

Compiling IRSSI on Solaris 10

How does one go aout compiling irssi locally on a fresh installation of Solaris 10, Out put from ./configure m command /download/1rss1-0.8.12 checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking... (2 Replies)
Discussion started by: FloridaBSD
2 Replies

6. Infrastructure Monitoring

compiling netsnmp on solaris 8

Hello all Currently I am trying to install net-snmp-5.5 on a V480 Solaris 8 machine however things are hardly going smooth. I'm running configure will the following options. ./configure --prefix=/usr/local --with-mib-modules="smux ucd-snmp/diskio ucd-snmp/lmSensors host"... (2 Replies)
Discussion started by: krabu
2 Replies

7. Solaris

problem compiling apache on solaris

Hi I'm trying to install apache 2.2.14 on Solaris with Openssl. I'm using following configure options: ./configure --prefix=/usr/local/apache2 --enable-ssl --enable-module=so --enable-proxy=shared --enable-proxy-http=shared --enable-proxy-ajp=shared --with-ssl=/usr/local/openssl ... (3 Replies)
Discussion started by: Aelfric
3 Replies

8. Programming

Sun Solaris C++ Compiling Error

Hello. I'm using SunStudio 12 Update 1. When compiling for x86, everything works fine. When compiling for SPARC, I get the following errors. I linked libCstd.so.1 explicitly, but I get the same errors. Would anyone be kind enough to step me through resolving this? Thank you very much. **... (2 Replies)
Discussion started by: acheong87
2 Replies

9. Solaris

Compiling Error in Samba 3.4.1 on Solaris 10

Hi all, I am getting the following error While installing Samba 3.4.1 on Solaris 10. #./autogen.sh ./autogen.sh : autoheader : not found ./autogen.sh : test : argument expected Please help me as I am in a critical state of the project. Warm regards, Sathya (10 Replies)
Discussion started by: sathya47
10 Replies

10. UNIX Benchmarks

error compiling bm software under Solaris 10

anyone tried it , under Solaris 10 using make (part of SUNWsprot) and gcc 4.6 compiler.. got an error complaining about the Makefile script syntax... I don't think that's compatible at all... (2 Replies)
Discussion started by: ppchu99
2 Replies
dia2code(1)															       dia2code(1)

NAME
dia2code - Generate code from Dia files SYNOPSIS
dia2code [-t ada|c|cpp|cs|java|php|php5|python|ruby|shp|sql] [-d dir] [-nc] [-c] [-cl classlist] [-v] diagramfile [-h] [--help] DESCRIPTION
dia2code generates code from a Dia file containing a UML diagram. Output code can be: Ada, C, C++, C#, Java, PHP, PHP5, Python, Ruby, shapefiles and SQL. OPTIONS
-h --help Print help text and exit. -t ada|c|cpp|cs|java|php|php5|python|ruby|shp|sql Selects the output language, default is C++. -d dir Output generated files to <dir>, default is "." -nc Do not overwrite files that already exist. -cl classlist Generate code only for the classes specified in the comma-separated <classlist>. E.g: Base,Derived. -v Invert the class list selection. When used without -cl prevents any file from being created. -l licensefile Prepend the specified license to every source file generated. diagramfile The Dia file that holds the diagram to be read. AUTHOR
Written by Javier O'Hara <joh314@users.sourceforge.net> with contributions from Ruben Lopez <ryu@gpul.org> (C code generation), Chris McGee <sirnewton_01@yahoo.ca> (Dependencies, Associations, C++ Templates, SQL), Takashi Okamoto <toraneko@kun.ne.jp> (License inclusion mechanism), Thomas Preymesser <tp@odn.de> (Ada code generation), Jerome Slangen <jeromes@mail.be> (Wildcard class list mechanism), Takaaki Tateishi <> (Dynamic Shared Objects for dynamic code generator modules), Martin Vidner <mvidner@users.sourceforge.net> (Porting to libxml2). THANKS
Thanks to Collin Starkweather, Richard Torkar and Slush Gore for the extra help. REPORTING BUGS
Report bugs to <http://sourceforge.net/bugs/?func=addbug&group_id=15307>. COPYRIGHT
Copyright (C) 2000-2001 Javier O'Hara This is free software, and you are welcome to redistribute it under certain conditions; read the COPYING file for details. SEE ALSO
dia(1) ALSO SEE ALSO
The Dia homepage: <http://live.gnome.org/Dia> The dia2code homepage: <http://dia2code.sourceforge.net> September 2, 2001 dia2code(1)
All times are GMT -4. The time now is 09:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy