Help: Compiling mod_jk2 in solaris 10
Hi everyone,
I am trying to setup apache (bundled with Xampp) to work with tomcat through the jk connector. My server is Solaris SPARC 10. I couldn't find the binary distribution of mod_jk2 for Solaris 10 on the net (any one have it ????),
Iam trying to compile it from source but Iam getting this problem when trying to execute the following:
- unzip the source
- go to jk/native2 dir
- run ./buildconf.sh
- run ./configure --with-apxs2=APACHE_HOME/bin/apxs
I got the following (these are only the last 3 lines)
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
could not find /space/home/akhidir/xampp/bin/apxs
configure: error: You must specify a valid --with-apxs2 path
I have tried the last command with multiple ways, for example when I gave it wrong path such as the following, I got a different error
- run ./configure --with-apxs2=APACHE_HOME/bin/apxs3
no apxs given
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
configure: error: Invalid location for apxs: '/space/home/akhidir/xampp/bin/apx3'
I have searched the net but no clue in such problem, any ideas why I am getting this error cause I have tried everything... If anyone happened to have a binary distribution for Solaris 10 please pass it to me.
my xampp ([2006-01-15] XAMPP for Solaris 0.8.1 BETA) version includes:
Apache 2.2.0
Perl 5.8.3
Thanks & Regards
Bakry
Hi everyone,
I am trying to setup apache (bundled with Xampp) to work with tomcat through the jk connector. My server is Solaris SPARC 10. I couldn't find the binary distribution of mod_jk2 for Solaris 10 on the net (any one have it ????),
Iam trying to compile it from source but Iam getting this problem when trying to execute the following:
- unzip the source
- go to jk/native2 dir
- run ./buildconf.sh
- run ./configure --with-apxs2=APACHE_HOME/bin/apxs
I got the following (these are only the last 3 lines)
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
could not find /space/home/akhidir/xampp/bin/apxs
configure: error: You must specify a valid --with-apxs2 path
I have tried the last command with multiple ways, for example when I gave it wrong path such as the following, I got a different error
- run ./configure --with-apxs2=APACHE_HOME/bin/apxs3
no apxs given
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
configure: error: Invalid location for apxs: '/space/home/akhidir/xampp/bin/apx3'
I have searched the net but no clue in such problem, any ideas why I am getting this error cause I have tried everything... If anyone happened to have a binary distribution for Solaris 10 please pass it to me.
my xampp ([2006-01-15] XAMPP for Solaris 0.8.1 BETA) version includes:
Apache 2.2.0
Perl 5.8.3
Thanks & Regards
Bakry
Similar Messages
-
Help compiling R using Solaris Studio
I am trying to compile R 2.14 using the Solaris Studio. The configure command works, with some tweaking ;-), but it I get a lot of "symbols not found" error messages (see below).
Has anyone been able to compile R with the Solaris Studio? Which libraries or files am I missing and how should I specify them.
thanks in advance!
Roger
cc -m64 -xopenmp -L/opt/sunstudio12.1/lib/amd64 -o R.bin Rmain.o libR.a -library=sunperf\
-R/opt/solstudio12.2/lib/amd64 -R/usr/local/bin/R-2.14.0/lib64 -R/user/openwin/lib -lfai -lfui -lfsu -lsunquad -lsunmath -lmtsk -lm -lnsl\
-lsocket -lrt -ldl -lm -licuuc -licui18n
cc: Warning: Optimizer level changed from 0 to 3 to support parallelized code.
Undefined first referenced
symbol in file
cg_ libR.a(registration.o)
ch_ libR.a(registration.o)
rg_ libR.a(registration.o)
rs_ libR.a(registration.o)
Rz_uncompress libR.a(connections.o)
bincount libR.a(registration.o)
Rz_inflate libR.a(connections.o)
pnbinom_mu libR.a(arithmetic.o)
qnbinom_mu libR.a(arithmetic.o)
rnbinom_mu libR.a(random.o)
dnbinom_mu libR.a(arithmetic.o)
Rf_df libR.a(arithmetic.o)
Rf_dt libR.a(arithmetic.o)
Rf_pf libR.a(arithmetic.o)
Rf_pt libR.a(arithmetic.o)
Rf_qf libR.a(arithmetic.o)
Rf_qt libR.a(arithmetic.o)
Rf_rf libR.a(random.o)
Rf_rt libR.a(random.o)
R_ProcessEvents libR.a(errors.o)
Rz_crc32 libR.a(connections.o)
chol_ libR.a(registration.o)
do_syssleep libR.a(names.o)
R_zeroin2 libR.a(optimize.o)
R_EditFiles libR.a(platform.o)
R_getProcTime libR.a(memory.o)
lzma_lzma_preset libR.a(connections.o)
lzma_end libR.a(connections.o)
R_ExpandFileName libR.a(platform.o)
R_OpenInitFile libR.a(main.o)
R_getClockIncrement libR.a(memory.o)
BZ2_bzDecompress libR.a(dounzip.o)
R_ReadConsole libR.a(main.o)
Rf_initialize_R Rmain.o
call_dqags libR.a(registration.o)
call_dqagi libR.a(registration.o)
Rf_lchoose libR.a(arithmetic.o)
R_ChooseFile libR.a(platform.o)
Rz_deflateInit2_ libR.a(connections.o)
lzma_code libR.a(connections.o)
N01_kind libR.a(RNG.o)
do_machine libR.a(names.o)
R_max_col libR.a(registration.o)
R_ClearerrConsole libR.a(scan.o)
do_dataviewer libR.a(names.o)
Rf_InitEd libR.a(main.o)
pcre_maketables libR.a(grep.o)
tre_regaparams_default libR.a(agrep.o)
libintl_gettext libR.a(main.o)
libintl_textdomain libR.a(main.o)
lzma_stream_decoder libR.a(connections.o)
R_Busy libR.a(main.o)
Rf_dnf libR.a(arithmetic.o)
Rf_dnt libR.a(arithmetic.o)
Rf_pnf libR.a(arithmetic.o)
Rf_pnt libR.a(arithmetic.o)
Rf_qnf libR.a(arithmetic.o)
Rf_qnt libR.a(arithmetic.o)
BZ2_bzRead libR.a(connections.o)
Rf_choose libR.a(arithmetic.o)
Brent_fmin libR.a(optimize.o)
BZ2_bzDecompressEnd libR.a(dounzip.o)
Rf_dbinom libR.a(arithmetic.o)
Rf_dchisq libR.a(arithmetic.o)
R_cumsum libR.a(registration.o)
Rf_dgamma libR.a(arithmetic.o)
Rf_dhyper libR.a(arithmetic.o)
Rf_dlogis libR.a(arithmetic.o)
Rf_dlnorm libR.a(arithmetic.o)
Rf_dnbeta libR.a(arithmetic.o)
Rf_dnorm4 libR.a(arithmetic.o)
fft_factor libR.a(fourier.o)
lzma_stream_encoder libR.a(connections.o)
Rf_fround libR.a(arithmetic.o)
Rf_ftrunc libR.a(arithmetic.o)
tre_regawexec libR.a(agrep.o)
Rz_compress libR.a(connections.o)
do_addhistory libR.a(names.o)
Rf_pbinom libR.a(arithmetic.o)
Rf_pchisq libR.a(arithmetic.o)
Rf_pgamma libR.a(arithmetic.o)
Rf_phyper libR.a(arithmetic.o)
Rf_plogis libR.a(arithmetic.o)
Rf_plnorm libR.a(arithmetic.o)
Rf_pnbeta libR.a(arithmetic.o)
Rf_pnorm5 libR.a(arithmetic.o)
Rf_qbinom libR.a(arithmetic.o)
R_pretty libR.a(registration.o)
R_cpolyroot libR.a(complex.o)
Rf_qchisq libR.a(arithmetic.o)
Rf_ptukey libR.a(arithmetic.o)
Rf_qgamma libR.a(arithmetic.o)
Rf_qhyper libR.a(arithmetic.o)
Rf_qlogis libR.a(arithmetic.o)
Rf_qlnorm libR.a(arithmetic.o)
Rf_qnbeta libR.a(arithmetic.o)
Rf_qnorm5 libR.a(arithmetic.o)
bakslv libR.a(registration.o)
Rf_rbinom libR.a(random.o)
Rf_rchisq libR.a(random.o)
Rf_qtukey libR.a(arithmetic.o)
Rf_rgamma libR.a(random.o)
Rf_rhyper libR.a(random.o)
Rf_rlogis libR.a(random.o)
Rf_rlnorm libR.a(random.o)
R_rowsum libR.a(registration.o)
str_signif libR.a(registration.o)
Rf_pcauchy libR.a(arithmetic.o)
dchdc_ libR.a(registration.o)
do_system libR.a(names.o)
do_X11 libR.a(names.o)
dpbfa_ libR.a(registration.o)
dpbsl_ libR.a(registration.o)
dpoco_ libR.a(registration.o)
dpodi_ libR.a(registration.o)
dpofa_ libR.a(registration.o)
dposl_ libR.a(registration.o)
dqrcf_ libR.a(registration.o)
dqrdc_ libR.a(registration.o)
dqrls_ libR.a(registration.o)
dqrqy_ libR.a(registration.o)
dqrsl_ libR.a(registration.o)
dqrxb_ libR.a(registration.o)
dsvdc_ libR.a(registration.o)
dtrco_ libR.a(registration.o)
dtrsl_ libR.a(registration.o)
wilcox_free libR.a(registration.o)
fdhess libR.a(optimize.o)
R_ShowFiles libR.a(platform.o)
BZ2_bzReadGetUnused libR.a(connections.o)
tre_regaexecb libR.a(agrep.o)
BZ2_bzReadOpen libR.a(connections.o)
R_zeroin libR.a(optimize.o)
pcrevalid_utf8 libR.a(util.o)
machar libR.a(platform.o)
Rf_pnchisq libR.a(arithmetic.o)
Rf_pnbinom libR.a(arithmetic.o)
lzma_crc64 libR.a(util.o)
optif9 libR.a(optimize.o)
rcont2 libR.a(random.o)
R_pretty0 libR.a(engine.o)
setulb libR.a(optim.o)
Rf_qcauchy libR.a(arithmetic.o)
R_tabulate libR.a(registration.o)
tre_regncompb libR.a(grep.o)
tre_regnexecb libR.a(grep.o)
Rf_pwilcox libR.a(arithmetic.o)
libintl_dngettext libR.a(errors.o)
find_interv_vec libR.a(registration.o)
Rf_qnchisq libR.a(arithmetic.o)
Rf_qnbinom libR.a(arithmetic.o)
Rf_bessel_i_ex libR.a(arithmetic.o)
Rf_bessel_j_ex libR.a(arithmetic.o)
Rf_bessel_y_ex libR.a(arithmetic.o)
Rf_bessel_k_ex libR.a(arithmetic.o)
Rz_inflateEnd libR.a(connections.o)
Rz_deflateEnd libR.a(connections.o)
Rf_rcauchy libR.a(random.o)
Rf_trigamma libR.a(arithmetic.o)
do_saveplot libR.a(names.o)
pcre_free libR.a(grep.o)
pcre_exec libR.a(grep.o)
Rf_beta libR.a(arithmetic.o)
Rf_dexp libR.a(arithmetic.o)
tre_regcomp libR.a(platform.o)
tre_regexec libR.a(platform.o)
tre_regfree libR.a(platform.o)
Rf_pexp libR.a(arithmetic.o)
Rf_qexp libR.a(arithmetic.o)
Rf_rexp libR.a(random.o)
Rf_sign libR.a(arithmetic.o)
Rf_qwilcox libR.a(arithmetic.o)
R_ReadClipboard libR.a(connections.o)
BZ2_bzWriteOpen libR.a(connections.o)
bincode libR.a(registration.o)
R_CleanTempDir libR.a(main.o)
R_access_X11 libR.a(platform.o)
norm_rand libR.a(optim.o)
Rf_rnchisq libR.a(random.o)
Rf_rnbinom libR.a(random.o)
R_running_as_main_program Rmain.o
Rf_psigamma libR.a(arithmetic.o)
ch2inv_ libR.a(registration.o)
BZ2_bzWrite libR.a(connections.o)
BZ2_bzBuffToBuffDecompress libR.a(connections.o)
Rz_inflateInit2_ libR.a(connections.o)
Rf_rwilcox libR.a(random.o)
R_CleanUp libR.a(main.o)
Rf_dsignrank libR.a(arithmetic.o)
Rf_psignrank libR.a(arithmetic.o)
Rf_rsignrank libR.a(random.o)
Rf_qsignrank libR.a(arithmetic.o)
BZ2_bzDecompressInit libR.a(dounzip.o)
Rf_dcauchy libR.a(arithmetic.o)
Rz_deflate libR.a(connections.o)
R_Suicide libR.a(main.o)
libintl_bindtextdomain libR.a(main.o)
stemleaf libR.a(registration.o)
Rf_digamma libR.a(arithmetic.o)
do_sysinfo libR.a(names.o)
Rf_dnchisq libR.a(arithmetic.o)
Rf_dnbinom libR.a(arithmetic.o)
do_edit libR.a(names.o)
pcre_study libR.a(grep.o)
R_ShowMessage libR.a(startup.o)
dqrdc2_ libR.a(registration.o)
dqrqty_ libR.a(registration.o)
dqrrsd_ libR.a(registration.o)
Rf_InitFunctionHashing libR.a(Rdynload.o)
R_FlushConsole libR.a(plot.o)
lzma_alone_decoder libR.a(connections.o)
Rf_dwilcox libR.a(arithmetic.o)
rmultinom libR.a(random.o)
tre_regwcomp libR.a(agrep.o)
tre_regwexec libR.a(grep.o)
Rf_dbeta libR.a(arithmetic.o)
Rf_dgeom libR.a(arithmetic.o)
Rf_dpois libR.a(arithmetic.o)
Rf_dunif libR.a(arithmetic.o)
Rf_fmin2 libR.a(plot3d.o)
Rf_fmax2 libR.a(relop.o)
Rf_fprec libR.a(arithmetic.o)
Rf_imax2 libR.a(printutils.o)
Rf_lbeta libR.a(arithmetic.o)
tre_regcompb libR.a(agrep.o)
do_savehistory libR.a(names.o)
tre_regerror libR.a(agrep.o)
tre_regexecb libR.a(dcf.o)
Rf_pbeta libR.a(arithmetic.o)
Rf_pgeom libR.a(arithmetic.o)
Rf_ppois libR.a(arithmetic.o)
Rf_qbeta libR.a(arithmetic.o)
Rf_punif libR.a(arithmetic.o)
Rf_qgeom libR.a(arithmetic.o)
Rf_qpois libR.a(arithmetic.o)
Rf_rbeta libR.a(random.o)
Rf_qunif libR.a(arithmetic.o)
Rf_rgeom libR.a(random.o)
Rf_rnorm libR.a(random.o)
Rf_rpois libR.a(random.o)
Rf_runif libR.a(random.o)
do_loadhistory libR.a(names.o)
tre_regaexec libR.a(agrep.o)
R_WriteConsoleEx libR.a(printutils.o)
Rz_inflateReset libR.a(connections.o)
do_dataentry libR.a(names.o)
lzma_raw_encoder libR.a(connections.o)
BZ2_bzBuffToBuffCompress libR.a(connections.o)
Rf_lgammafn libR.a(random.o)
BM_norm_keep libR.a(RNG.o)
Rf_gammafn libR.a(arithmetic.o)
libintl_dgettext libR.a(main.o)
libintl_ngettext libR.a(printarray.o)
fft_work libR.a(fourier.o)
lzma_raw_decoder libR.a(connections.o)
Rf_pweibull libR.a(arithmetic.o)
Rf_qweibull libR.a(arithmetic.o)
Rf_rweibull libR.a(random.o)
Rf_dweibull libR.a(arithmetic.o)
pcre_fullinfo libR.a(grep.o)
R_WriteConsole libR.a(printutils.o)
R_ResetConsole libR.a(errors.o)
BZ2_bzWriteClose libR.a(connections.o)
signrank_free libR.a(registration.o)
pcre_compile libR.a(grep.o)
BZ2_bzReadClose libR.a(connections.o)
ld: fatal: symbol referencing errors. No output written to R.binR 2.14.2 built just fine on S11 with Studio 12.3. I had to have GNU iconv installed and then I had to build without readline as the native one has some problems/features WRT linking to n/curses that I was not in the mood to play with.
./configure \
--prefix=%{_prefix} \
--without-readline \
--enable-R-shlib -
Compiling .fmb on solaris
I just developed a Form with Forms9i on Windows NT.
Now I want to deploy this form to our Application Server (9iAS Release 2) on a Solaris Machine.
I know I cannot transfer the (NT-) compiled FMX to Solaris - I know I have to compile the FMB directly on Solaris to get
a correct runnable FMX-File.
My question: How to compile FMB on Solaris? I found a script "f90genm.sh". Whats that script, how to use it? Where can i find information about compiling FMBs on Solaris without Forms-Builder? Or is it a MUST to install Forms Builder on Solaris?
Many thx for your help!
Greetings from Germany,
Marc TeufelI hope it helps
Usage: f90genm Module=<formname> Userid=<userid/password> [Parameters].
Optional parameters are (default values given):
Module_Type=FORM Module type (FORM, MENU, LIBRARY).
Statistics=NO Show statistics.
Logon=YES Logon to database.
Batch=NO Don't display messages on the screen.
Output_File=<file> Write output to file.
Script=NO Write script file.
Parse=NO Parse script file.
Upgrade=NO Upgrade module to current version.
Upgrade_Roles=NO Upgrade SQL*Menu 5.0 role information.
Version=45 Version to upgrade (23, 30, 40, 45, or menu 50).
Crt_File=<crt file> CRT file for version 2.x form upgrade.
Build=Yes Build a runform/runmenu file when upgrading.
Add_Triggers=NO Add KEY-UP/DOWN triggers during upgrade.
Nofail=NO Add NOFAIL keyword to trigger steps.
Debug=NO Build/Run with debug information.
Compile_All=NO Compile all PL/SQL code.
Strip_Source=NO Strip pl/sql source code from library.
Window_State=Normal Root window state: (Normal, Maximize, Minimize.)
Help=NO Show this help information.
Options_Screen=NO Display Options window (on bitmap only).
Widen_Fields=NO Add one character to display width.
Print_Version=NO Print version used to save module.
Forms_Doc=NO Print Forms Doc report. -
Help me in Installing Solaris Express, Developer Edition X 86
Hi,
Help me in installing Solaris Express, Developer Edition
When i am trying to install Solaris, system hangs and the moniter is switcher off when the system goes in GUI mode.
i have intel 945GTP mother board with as on board Intel Graphics Media Accelerator Drives , Chipset -> Intle 945G , 160 SATA Hard Disk, 1 GB DDR2 Ram , P4 3.Ghz Processer , on board Intel PRO/100 VE Network Card.
Please,Help me.
Thanking you,
P.Sathish KumarHello,
first of all: Try to run the HCTS (Hardware
Compatibility Test Suite) first, it's available
here:
http://www.sun.com/bigadmin/hcl/hcts/device_detect.htm
l
This you can run from Windows, and it will list all
hardware that has drivers, and all those, that do not
have drivers (including some public domain drivers).
After that, you have the possibility to install
Solaris WITHOUT a GUI, use one of the two "terminal"
modes. The first Is still a GUI, as it only starts X
and opens a terminal, in which then the installer
runs. The second does NOT start X, but runs the
installer on the console. Try this one, and once you
get through that, you can afterwards figure out the
settings of the Xserver.Hi ,
i have installed the solaris using console.
Still GUI is not starting, the moniter is switched off when GUI gets started
I used Hardware Compatibility Test Suite, its say that system is supported
by Solaris.
Should i have change BIOS setting to stated the system
Bye
P.Sathish Kumar -
Help me in installing Solaris Express, Developer Edition X86
Hi,
Help me in installing Solaris Express, Developer Edition
When i am trying to install Solaris, system hangs and the moniter is switcher off when the system goes in GUI mode.
i have intel 945GTP mother board with as on board Intel Graphics Media Accelerator Drives , Chipset -> Intle 945G , 160 SATA Hard Disk, 1 GB DDR2 Ram , P4 3.Ghz Processer , on board Intel PRO/100 VE Network Card.
Please,Help me.
Thanking you,
P.Sathish KumarHello,
first of all: Try to run the HCTS (Hardware
Compatibility Test Suite) first, it's available
here:
http://www.sun.com/bigadmin/hcl/hcts/device_detect.htm
l
This you can run from Windows, and it will list all
hardware that has drivers, and all those, that do not
have drivers (including some public domain drivers).
After that, you have the possibility to install
Solaris WITHOUT a GUI, use one of the two "terminal"
modes. The first Is still a GUI, as it only starts X
and opens a terminal, in which then the installer
runs. The second does NOT start X, but runs the
installer on the console. Try this one, and once you
get through that, you can afterwards figure out the
settings of the Xserver.Hi ,
i have installed the solaris using console.
Still GUI is not starting, the moniter is switched off when GUI gets started
I used Hardware Compatibility Test Suite, its say that system is supported
by Solaris.
Should i have change BIOS setting to stated the system
Bye
P.Sathish Kumar -
Help required to install solaris 10 in virtual box 4.1.2 on a win xp sp3 mc
Hey can u help me to install Solaris using Virtual box 4.1.2 i hav downloaded and just installed Virtual box 4.1.2 and an iso image of the available solaris 10
Please help
regards
fel208Moderator Action:
This inquiry was initially posted to the Predictive Self Healing forum for some unfathomable reason.
It has now been moved to the Oracle VM and Virtualization forum for closer topic alignment.
Advice to original poster:
If you couldn't read enough posts to figure out which forum was appropriate, how are you going to be able to read replies to your question? You should go back to wherever you found Virtualbox and Solaris and read the product documenteation. Installation instructions are already there. -
Issue in compiling code on solaris 10 - please help
I wanted to migrate old PRO *C source code to solaris 10 and oracle 10 enviroment, so copied all files , done settings and tried compiling it. It is giving below error. Any guess why it is happening?
Syntax error at line 69, column 2, file /usr/include/sys/uio.h:
Error at line 69, column 2 in file /usr/include/sys/uio.h
lloff_t uiooffset; /* file offset */
.1
PCC-S-02201, Encountered the symbol "lloff_t" when expecting one of the followin
g:
} char, const, double, enum, float, int, long, ulong_varchar,
OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
struct, union, unsigned, utext, uvarchar, varchar, void,
volatile, a typedef name,
The symbol "enum," was substituted for "lloff_t" to continue.I wanted to migrate old PRO *C source code to solaris 10 and oracle 10 enviroment, so copied all files , done settings and tried compiling it. It is giving below error. Any guess why it is happening?
Syntax error at line 69, column 2, file /usr/include/sys/uio.h:
Error at line 69, column 2 in file /usr/include/sys/uio.h
lloff_t uiooffset; /* file offset */
.1
PCC-S-02201, Encountered the symbol "lloff_t" when expecting one of the followin
g:
} char, const, double, enum, float, int, long, ulong_varchar,
OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
struct, union, unsigned, utext, uvarchar, varchar, void,
volatile, a typedef name,
The symbol "enum," was substituted for "lloff_t" to continue. -
Compilation problem in solaris 10
Hi,
Iam using solaris 10 SUNW,UltraAX-i2. Iam trying to compile tripwire binaries tw_ASR_1.3.1_SRC. Iam using gcc 3.3.2, later I installed the libiconv package.
on reading the documentation from sunfreeware i modified the file mkheaders.conf putting the line SHELL=/bin/sh in the directory
usr/local/lib/gcc-lib/sparc-sun-solaris10/3.3.2/install-tools
The PATH and LD_LIBRAY_PATH are like this
# echo $PATH
/usr/local/bin:/etc:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/ucb:/bin:/sbin/:/usr/sb
in:/usr/man:/usr/include/
# echo $LD_LIBRARY_PATH
/usr/local/lib:/usr/X/lib:/usr/lib:/usr/ucblib:/lib:/usr/ccs/lib:/etc/lib:/usr/d
t/lib
Once I changed the configuration changes in the tripwire source. Iam trying to compile make & make install. The output of the make is like this
# make
(cd util; make CC=gcc CFLAGS="-O" \
LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh all)
### Ignore warnings about shift count negative/too large on line 36
gcc -O -ldl byteorder.c -o byteorder
byteorder.c: In function `main':
byteorder.c:36: warning: left shift count >= width of type
byteorder.c:25: warning: return type of `main' is not `int'
(./byteorder; cat ./ntohl.h) > ../include/byteorder.h
gcc -O -ldl types.c -o types
types.c: In function `main':
types.c:29: warning: return type of `main' is not `int'
/bin/sh ./types.sh "gcc -E" > ../include/inode.h
(cd src; make CC=gcc CFLAGS="-O" LIBS="" \
LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh \
YACC="yacc" LEX="lex" all)
/bin/sh help.sh help.txt > help.c
gcc -O -c config.parse.c
gcc -O -c main.c
main.c:704:2: warning: no newline at end of file
gcc -O -c list.c
gcc -O -c ignorevec.c
gcc -O -c dbase.build.c
gcc -O -c utils.c
gcc -O -c preen.c
gcc -O -c preen.interp.c
gcc -O -c preen.report.c
gcc -O -c nullsig.c
gcc -O -c config.prim.c
gcc -O -c dbase.update.c
lex config.pre.l
mv lex.yy.c config.lex.c
yacc config.pre.y
sed 's/lex\.yy\.c/config.lex.c/' < y.tab.c > config.pre.c
rm y.tab.c
gcc -O -c config.pre.c
gcc -O -c help.c
(cd ../sigs/md5; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c md5.c
gcc -O -I. -I.. -c md5wrapper.c
(cd ../sigs/snefru; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c snefru.c
(cd ../sigs/crc32; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c crc32.c
(cd ../sigs/crc; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c crc.c
(cd ../sigs/md4; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c md4.c
gcc -O -I. -I.. -c md4wrapper.c
(cd ../sigs/md2; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c md2wrapper.c
gcc -O -I. -I.. -c md2.c
(cd ../sigs/sha; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c sha.c
gcc -O -I. -I.. -c shawrapper.c
(cd ../sigs/haval; make CC="gcc" CFLAGS="-O -I. -I..")
gcc -O -I. -I.. -c haval.c
gcc -O -I. -I.. -c havalwrapper.c
gcc -O -ldl -o tripwire config.parse.o main.o list.o ignorevec.o dbase.build.o
utils.o preen.o preen.interp.o preen.report.o nullsig.o config.prim.o dbase.upd
ate.o config.pre.o help.o ../sigs/md5/md5wrapper.o ../sigs/md5/md5.o ../sigs/s
nefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/md4/md4.o ../sigs
/md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o ../sigs/sha/sha.o .
./sigs/sha/shawrapper.o ../sigs/haval/haval.o ../sigs/haval/havalwrapper.o
gcc -O -ldl -o siggen siggen.c ../sigs/md5/md5wrapper.o ../sigs/md5/md5.o ../sig
s/snefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/md4/md4.o ../s
igs/md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o ../sigs/sha/sha.
o ../sigs/sha/shawrapper.o ../sigs/haval/haval.o ../sigs/haval/havalwrapper.o
nullsig.o utils.o
I think it is not showing any problem. But when I try to make install it is throwing some
error like this. It was unable to find theinsta;; directory under /usr/local/bin. Manually I created the directory to test, it is throwing an error saying that bad file number.
Can any one help me what could be the reason for this.
# make install
(cd util; make CC=gcc CFLAGS="-O" \
LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh all)
(cd src; make CC=gcc CFLAGS="-O" LIBS="" \
LDFLAGS="-ldl" CPP="gcc -E" SHELL=/bin/sh \
YACC="yacc" LEX="lex" all)
/usr/local/bin/install -d /usr/local/bin
sh: /usr/local/bin/install: not found
*** Error code 1
make: Fatal error: Command failed for target `install'
SanjeevThis forum is about using Sun Studio. Your question is about tripwire, which is not a Sun product, and gcc, which is not Sun Studio. I suggest you take your question to a tripwire forum. Check the location where you got tripwire for a support forum.
-
Announcing availability of x86 hosted cross compiler for SPARC/Solaris
We are pleased to announce the release for GCC For Sun Systems 4.2.0 cross compilers!
This is a Solaris/x86 hosted compiler with target code generation for
SPARC/Solaris systems. If you develop on your OpenSolaris, or Solaris
x86 laptop or desktop, you can now start compiling your sources for
SPARC systems. Almost all features available in the
native SPARC GCC For Sun Systems 4.2.0 compiler are available
for use in the cross compiler. Please refer to the mini cross compiler howto
page for additional details on install and usage, and gotchas in cross
development environment.
Please continue to provide us your feedback and issues, which helps
us make the product better.
Thanks
GCCFSS teamCan GCCFSS also cross compile from in reverse - from SPARC to x86/x64?
Thank you -
Mod-JK compilation on Sun Solaris 10 (SPARC)
HI,
Can any one help me for sucessful compilation of tomcat-connector-1.2.26-src i.e mod-jk on sun solaris platform 10 sparc
server.
I followed below steps
./configure --with-apxs=/usr/apache2/bin/apxs
make
in make this gives following error:
Making all in common
Making all in apache-2.0
/bin/bash /var/apache2/build/libtool silent mode=link /opt/SUNWspro/bin/cc -I/usr/apache2/include -g -O2 -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xarch=v8 -xspace -W0,-Lt -W2,-Rcond_elim -Xa -xildoff -xO4 -DSSL_EXPERIMENTAL -DSSL_ENGINE -DHAVE_APR -I/usr/share/src/apache2/srclib/apr/include -I/usr/share/src/apache2/srclib/apr-util/include -g -O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 `/usr/apache2/bin/apxs -q LDFLAGS` -o mod_jk.la -module -rpath /usr/apache2/libexec -avoid-version mod_jk.lo ../common/jk_ajp12_worker.lo ../common/jk_connect.lo ../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo ../common/jk_pool.lo ../common/jk_worker.lo ../common/jk_ajp13_worker.lo ../common/jk_lb_worker.lo ../common/jk_sockbuf.lo ../common/jk_map.lo ../common/jk_uri_worker_map.lo ../common/jk_ajp14.lo ../common/jk_ajp14_worker.lo ../common/jk_md5.lo ../common/jk_shm.lo ../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_url.lo ../common/jk_status.lo
ld: fatal: file .libs/mod_jk.o: open failed: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `mod_jk.la'
Current working directory /opt/tomcat-connectors-1.2.26-src/native/apache-2.0
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
k) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='common apache-2.0'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'The only thing I can really suggest is to scan your log files to see if the building of this object failed earlier on.
Thanks
Prashanth -
Need help building boost_1_37_0 on Solaris 10 U6 with Sun Studio 12
Hi,
Ok, please bear with me here. I've tried many different sets of instructions, and haven't had success with any of them (including the ones at http://blogs.sun.com/sga/category/Boost).
Operating System: Solaris 10 x86 U6
Compiler: Sun Studio 12 (SUNCC version 5.9)
Boost version: 1.37.0
The ONLY part of boost that I need is regex. I've never built external libraries before and building boost on Solaris seems a rather daunting task. So, could someone please explain, as clearly as possible, how do I build the boost::regex library using SUNCC?
I know this is a very broad topic, but since I haven't had any luck with any existing instructions that google turns up, alas I am here.
Thanks in advance if someone can help me,
~Slow
Note: I don't need any special options, any special, non-standard install paths, nothing. Just a straight, stock, boost install.
Edited by: SlowToady on Nov 10, 2008 2:18 PMFirst, be sure you have the current patches for Sun Studio 12. You can get them here:
http://developers.sun.com/sunstudio/downloads/patches/
Please install the current C++ compiler patch, the C compiler patch, and the common back-end compiler patch.
You should then be able to build BOOST 1.37.0. The only problem I know of has been filed as CR 6767881, which results in an incorrect complaint about a constructor not being accessible. But I don't think that one affects regex.
If you running into some other problem after patching the compiler, please post enough detail that we can investigate it.
Questions about how to build just a portion of BOOST are probably best addressed to a BOOST forum. -
When trying to compile forms in solaris machine, frmcmp.sh not found error
Hi
I want to compile my forms using frmcmp.sh in a solaris machine
When I try to execute
/u15/10gAs/bin/frmcmp.sh /u15/10gAs/forms/form1.fmb user/pass@database
it throws me error that frmcmp.sh is not found
it is searching in the whatever path set in ORACLE_HOME
could you please tell me what should I do now?
regardsThe following is just a SAMPLE and you may not need all of them and you will have to modify the paths to match your system.
########## Oracle Variables ##########
echo " Welcome to oracle";
ORACLE_BASE=/u01/app/oracle
ORACLE_OWNER=oracle; export ORACLE_OWNER
ORACLE_TERM=xterm; export ORACLE_TERM
ORACLE_HOME=/u01/app/oracle/product/9.2.0.1.0
ORACLE_SID=ORTD
LD_PRELOAD=$HOME/libcwait.so
export DISPLAY=172.28.66.39:0.0
PATH=$PATH:$ORACLE_HOME/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME/network/lib
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
export CLASSPATH
LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL
THREADS_FLAG=native; export THREADS_FLAG
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
export PATH ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH LD_PRELOAD
########## End of Oracle variables ##########I recommend you dig through the installation manual for the version of Oracle you have installed and setup your profile settings based on your installation. If you still need help after that, you might want to post your question in the Database Installation forum. Once you have your environment setup, you should be able to compile your form(s).
Hope this helps,
Craig
If a response is helpful or correct, please mark it accordingly.
Edited by: CraigB on Apr 27, 2010 8:11 AM
Edited by: CraigB on Apr 27, 2010 8:14 AM -
Unable to compile nagios in Solaris 10
Hi group,
I am trying to compile nagios package on my solaris 10 box, but I am having some issues.
I have Solaris 10 with Solaris Studio 12.3 and nagios 3.3.1
This is the error message that I am getting when I execute "make all" command:
$ make all
cd ./base && make
gcc -Wall -g -O2 -I/usr/local/include/ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -mcpu=v8 -D_TS_ERRNO -I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE -DHAVE_CONFIG_H -DNSCORE -c checks.c
checks.c: In function `run_async_service_check':
checks.c:552: warning: dereferencing type-punned pointer will break strict-aliasing rules
checks.c:697: warning: dereferencing type-punned pointer will break strict-aliasing rules
checks.c:711: error: `n_a' undeclared (first use in this function)
checks.c:711: error: (Each undeclared identifier is reported only once
checks.c:711: error: for each function it appears in.)
checks.c:711: warning: left-hand operand of comma expression has no effect
checks.c:352: warning: unused variable `Perl___notused'
*** Error code 1
make: Fatal error: Command failed for target `checks.o'
Current working directory /na01/nag01/nagios/base
*** Error code 1
make: Fatal error: Command failed for target `all'
I execute configure command with next flags:
./configure with-nagios-user=nag01 with-nagios-group=nag with-command-group=nag enable-embedded-perl with-perlcache with-httpd-conf=/usr/local/apache2/conf with-gd-lib=/usr/local/lib with-gd-inc=/usr/local/include/
Any idea, help or advice will be really appreciated.
Thanks in advance.
Kind regards,
Franciscohello, you don't have to use hme0, that may not be your NIC type. your NIC appears to be realtek adapter. download the drivers first [try here: http://homepage2.nifty.com/mrym3/taiyodo/rf-1.0.9.tar.gz] install them, then your NIC will have a name like rt0. you can then proceed to set its interface.i hope ifconfig -a, blah,blah is ok with u. If the adapter is ok then you can now do the zones - they are just automatic no strugling!
you can also find the drivers from realtek website at -- ftp://152.104.238.194/cn/nic/rtl8139abcd8130810xseries/rtls211.zip
here are sample instructions on how to install the driver
How to install Solaris/x86 version
1. This is the version 2.1.1 RTL8139 serials driver for Solaris/x86
version.
2. It support Speed/Duplex-Force mode, you can set it through rtls.conf file.
3. It supports 3 PCI-VID_DID cards, VID_10EC_DID_8139 for Realtek's
native, VID_1113_DID_1211 for Accton and VID_1186_DID_1301 for
D-Link in the install script.
4. Install method:
a. Power-off your PC and insert your RTL8139 adapter.
b. Boot-up you Solaris/x86 and login as "root".
c. Copy the "rtls211.zip" into the temporary location in your
hard-driver.
d. UNZIP the "rtls211.zip" and you will get 3 files, "rtls", "rtls.conf" and
"Install".
e. If the PCI ID for your RTL8139 adapter is not VID_10EC_DID_8139
or VID_1113_DID_1211 or VID_1186_DID_1301, you can modify the
"Install" file to match your PCI ID, VID_ABCD_DID_WXYZ for example,
modify the "pci1186,1301" to "pciABCD,WXYZ".
f. Run the "Install" from File Manager to install the driver, and
it will modify 2 files, "/etc/name_to_major" and "/etc/driver_aliases"
g. You need to create the "/etc/hostname.rtls0" file and modify some
other related files to make your networking environments working well.
h. You can execute "touch /reconfigure" then "shutdown -i5 -g0", so that
Solaris will reboot and scan changed hardware environment.
i. You can execute "ifconfig -a" to make sure the RTL8139 driver is up.
success. bye -
64-bit compiling: problem in Solaris 2.8 workshop 6 update 2
Hi,
I have a probleme compiling 64bit application. Each time I try to link the object-files I get an error:
ld: fatal: ......./file sgm_register.o: wrong ELF class: ELFCLASS64
I need to compile it in 64bit-mode because of ability to read files with sizes greater 2GB.
The system is able to run 64bit applications:
$ isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
Used compiler-options are
cc -Kpic -xarch=v9
OP: Solaris 8
cc: Sun WorkShop 6 update 2 C 5.3 Patch 111679-06 2002/03/11
It would be nice if someone can help me solving the problem!
Many thanks,
MatthiasYou may be mixing 32-bit and 64-bit object files. Did you
compile all the files with -xarch=v9 and are you linking
with -xarch=v9? -
Compilation error on Solaris 2.6 using SUn Workshop 4.2(Rogue wave STL)
Hello,
I am facing a problem while using Rogue wave STLs on SOlaris 2.6 using Sun WOrkshop pro 4.2
I am using Hash table implementation in the source. It throws the following error:
---->Error: "," expected instead of "const_iterator".
I found it to be problem in a declaration of pair for the class.
Before modification:
typedef pair<mytmp::iterator,int> interator;
Modified to:
typedef mytmp::iterator myitr
typedef pair<myitr,int> interator;
Now the above compilation error seems to be gone. Can anyone please help me in understanding this problem???????????????
Also after compiling few files now i am facing new problem. It throws signal 11 in iterator header file of std STL.
Help m e !!!!!!!!!!
For your reference options of compilation are:
/opt/SUNWspro/bin/CC -c -O -mt -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D__EXTENSION
S__ -DRWSTD_MULTI_THREAD -D_RWBUILDSHARED -DRWSTD_COMPILE_INSTANTIATE -
DRWSTD_SHARED_BUILD --I/opt/mylib/common/include/Std mydemo.ccI solved my own problem.
It seems that the C++ XML Parser cannot be used with earlier versions of Oracle. My ORACLE_HOME env variable was pointing to v734. Once I changed that to point to the later version of v816, It was a smooth parse.
null
Maybe you are looking for
-
Iphone 6 plus shipment concerns
Hello Everyone, I was wondering if anyone, anyone at all has heard anything about updated stock that apple in sending out to AT&T (the carrier I pre ordered through) to distribute on the 19th. I woke up and pre ordered mine by 3:02am eastern time and
-
I'm trying to write a function internal function isObscured(o: DisplayObject, p: DisplayObject): Boolean; which tells whether the given object o is partially or completely obscured by the object p. I already tried using hitTestObject and hitTestP
-
Oracle Package is a pl/sql block
Hello , I am having a simple doubt on oracle package . A pl/sql block (executable section) must have a begin and end . But oracle package is having only the end part , so is it a pl/sql block or what ........................ Thanks
-
Adobe Forms : Adjacent Table printing
Hi All, I have copied standard adobe form PYXXFO_SAP_PAYSLIP_US2 payslip into custom one. in standard form output in page is as below EARNINGS wtno wttext rate number amount TAX wtno wttext rate number amount DEDUCTIONS wtno wtte
-
After upgrading to Yosemite, my adobe products didn't work. I upgraded some java plugins and was able to solve the problem on both of my computers. Now, about a month later, my Photoshop design files are twice the size of data Photoshop says they are