solaris-10

Static code on Solaris?

Question: Why were static libraries /usr/lib/*.a dropped from Solaris 10? So it is NOT possible to generate statically-linked object? Dynamically-linked compilation, is the only option? ...

C++ IDE for Solaris SPARC

We've been given a C++ code base that was apparently developed using Rational Apex as the front end. In our opinion, Apex is less than ideal for C++ development. We're looking for an IDE we can use that has syntax highlighting, code-walking (go to definition, show usages), and isn't a pain to use. We've looked at NetBeans, Sun Studio a...

Problem compiling nginx on Solaris 10

My setup as below # export PATH=/usr/sbin:/usr/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin # ./configure --prefix=/usr/local/nginx --user=webservd --group=webservd --with-http_stub_status_module --with-openssl=/usr/local/ssl/bin/openssl --with-debug --with-pcre=/usr/local/bin and i get error code as such when i execute make # make m...

How to precompile a ColdFusion application under Websphere/Solaris 10

I am in the process of installing a ColdFusion application on Solaris 10 64-bit (Sparc) running with WebSphere 6.1. The cfcompile script that comes with CF makes a reference to jrun.jar however this library is not available when CF is installed as an ear file. An abstract of cfcompile.sh is the following: su $cfuser -c "${_JAVACMD} ...

Erlang: Building Issue of not finding Ncurses on Solaris 10

I am trying to build Erlang on Solaris 10. The build process fails with the message that it can not find libncurses.so.5. I have installed libncurses from sunfreeware.com, which I have build from scratch and has installed itself in /usr/local/lib/. I have tried to set LDFLAGS with -L/usr/local/lib/ but have still had no luck. What am I m...

Solaris 10 keyboard problem

Im runing Solaris 10 - but im having problems with the keyboard. Instead of - i get /, and instead of y i get z, etc. I tried changing every option in the menu "Keyboard Behaviour". I also tried changing kmdconfig from xorg to xsun, but then the graphics goes all wild and ugly - although the keyboard works fine then. Also cant change re...

Daemon program that uses select() inside infinite loop uses significantly more CPU when ported from Solaris 10 machine (bare metal) to RHEL 4.8 virtual machine

I have a daemon app written in C and is currently running with no known issues on a Solaris 10 machine. I am in the process of porting it over to Linux. I have had to make minimal changes. During testing it passes all test cases. There are no issues with its functionality. However, when I view its CPU usage when 'idle' on my Solaris mach...

Undefined symbol sunOglCurPrimTablePtr in Solaris-x86

I was porting a C++ program from Solaris Sparc to Solaris x86. The program utilizes OpenGL library and the compilation is performed in a Sun Ultra27 workstation with the default GCC (3.4.3) and OpenGL library come with the machine. However, the following OpenGL call couldn't found while linking: Undefined symbol firs...

In hudson job builds, how do i change to other users?

I try using su - user from the execute shell. But it doesn't seen to work. Any advise? ...

How to convert a decimal into binary and vice versa

Hi how to convert Decimal to binary and viceversa i am working on solaris10 platform can anybody help me with a command Decimal to Binary 4000000002-100000000000000000000000000010 Binary to decimal 100000000000000000000000000010-4000000002 ...

Shell Script (bash/ksh): 20 seconds to read a variable

Hi guys, I need to wait for an input for 20 seconds, after that myscript should continue the execution. I've tried using read -t20 var however this works only on bash. I'm using ksh on Solaris 10. Can someone help me please? EDIT: 20 seconds is only an example. Let's pretend it needs to wait for 1 hour. But the guy could or could not ...

Mongodb on solaris10 64bit - I'm getting 'Invalid argument' when trying to run ./mongod

I've unzipped and detarred the solaris install package from the mongo site - version 1.6.3. When I try to run the ./mongod command I get the following (running as root): $ ./mongod bash: ./mongod: Invalid argument Same thing happens for the rest of the executables. I've created the data folder as per the instructions, but I'm prob...