ActiveState Powered by ActiveState

ActiveState Community


Solaris 10 ( X86 )

ActivePython installation error on Solaris 10

I'm installing ActivePython 2.5.2.2 in my home directory on a Solaris 10 machine. I used gunzip to unzip and gtar to untar the tar.gz in my home directory. When running install.sh I get an error.

[user@server:~] $ cd ActivePython-2.5.2.2-solaris10-x86
[user@server:~/ActivePython-2.5.2.2-solaris10-x86] $ ./install.sh
./install.sh: ./INSTALLDIR/bin/python: cannot execute
[user@server:~/ActivePython-2.5.2.2-solaris10-x86] $

This is what is in the server's opt directory - would python already be installed here?

SUNWits SUNWrtvc
SUNWmlib SUNWvts

Solaris 10 post update using wrong perl

A long departed dev setup a Sol 10 box on which they installed ActivePerl and several modules. I had an OS corruption problem after a recent patch and had to upgrade with the latest update 5 which cured my problem.

However, the update obviously wiped out some config bits and now none of my perl scripts run unless I use the entire activeperl path.

I added activeperl to the path in /etc/profile and restarted. echo $PATH shows activeperl prior to /usr/bin but 'whereis perl' still shows /usr/bin/perl.

ssh to the box and 'su - root' results in activeperl as default for that session.

DBD:ODBC + ActivePerl

Hi,

I have been looking at a problem one ouf our customers was having using ActivePerl to connect via DBD:ODBC to our SQL Server driver on Linux. After investigating, the problem seems to be that the version of iODBC you have built your distribution with expects the W (wide) functions (SQLDriverConnectW, SQLConnectW) to use four byte unicode. Unfortunatly that will fail with just about every ODBC driver out there that exports the W functions, as most of those will expect 2 byte wide characters, just the same as on Windows

Problems with tls under solaris10/intel

My script works fine under windows and linux.
But under solaris 10 x86 (intel!) there is only trouble.

ActiveTCL 8.4.15 (ActiveTcl8.4.15.0.280619-solaris-ix86):
Segmentation Fault (core dumped)

ActiveTCL 8.4.17 (ActiveTcl8.4.17.0.283511-solaris-ix86):
couldn't load file "libtls1.5.1.so": ld.so.1: tclsh: fatal: libtls1.5.1.so: open failed: No such file or directory

ActiveTCL 8.4.18 (ActiveTcl8.4.18.0.284097-solaris-ix86):
couldn't load file "./libtls1.5.1.so": ld.so.1: tclsh: fatal: ./libtls1.5.1.so: hardware capability unsupported: 0x100 [ AMD_3DNow ]

How to capture error messages...

Hi I am a new bie and have been coding a relatively easy structured programming method.

I have a snippet of my program which will:

#-----Running LDAPMODIFY Against The Ldif File Created-----#
sub RunUpdate
{
	print "--Updating Directory server. Please wait for a moment....\n\n";	
	my $resultLdapSearch = `ldapmodify -h $ldap_server -D "cn=Directory Manager" -w $dir_mgr_pwd -f $ldap_modify_file`;
	#print "resultLdapSearch: $resultLdapSearch\n";
}

When running the program I get a output error due to the ldapmodify command is trying to update and existing field, as shown below:

bash-2.05# perl 4-run_update_attributes.pl

*****************************************************************************
Step #4 - The Script WILL NOW Update The Users "Company" and "Co" Attributes
*****************************************************************************

Do you want to continue [y]:
--Updating Directory server. Please wait for a moment....

ldap_modify_s: Type or value exists

***********************************************************************
See Result:
-----------
Log Output file (verified): 01152008.log
***********************************************************************

As you notice, the error "ldap_modify_s: Type or value exists" appears from the "ldapmodify" that I executed. I need to know how do I capture this value and will write some codes to handle this error.

Please advice.

Komodo IDE - Solaris 10 version?

Is it possible to run Komodo IDE on Solaris 10?
Thanks

Missing module "logging" on Solaris install

I'm trying to install ActivePython on Solaris X86. I downloaded the the installer to a Windows machine, expanded it and FTPd the resulting directory to the Solaris box. I then tried to run install.sh, and got Import Error: No module named logging at line 33 in ./_install/py

Any idea what I'm doing wrong?

Does the directory ActivePython-2.5.1.1-solaris10-x86 (which was expanded from the .tar.gz file I downloaded) have to be put in a specific location on the Unix box?

I'm an absolute beginner with Unix, so this is probably something very simple...

Thanks for your help.

Rowan

Build HTML query string

I need to modify some existing perl code on a cgi page that runs on a solaris unix system. I am coding on a Windows XP development environment and I don't know perl.

I need to create a hyperlink, which I have done sucessfully. Then, using variables from the page, add a query parameter string to the end of my url in the link.

The link works fine, but I cannot get the query string added to it.

I need a link like this:

http://server/app/?param1=var1&param2=var2

The question mark and the ampersand are giving me fits, methinks.

Any suggestions appreciated, thanks.

Komodo install on Solaris 10 x86

I type ./install.sh
and the return is
./INSTALLDIR/lib/python/bin/python: ./INSTALLDIR/lib/python/bin/python2.4: cannot execute

any ideas?

No Beta for Solaris 10 (x86) ?

I see there is no link listed for Solaris 10 (x86). I do not currently own any ActiveState products, but this I have heard great things about your IDE for scripting languages and was favoring Solaris as a development platform over Linux until I noticed that there is no link for the beta version of Komodo 4.0 for Solaris 10 (x86).

Will there be a release version when it is finished, or has Solaris been dropped as a supported platform?

Just wondering.

-->