Sponsored Content
Full Discussion: Solaris 7 Sparc 5
Top Forums UNIX for Advanced & Expert Users Solaris 7 Sparc 5 Post 81193 by Unbeliever on Wednesday 17th of August 2005 07:02:08 AM
Old 08-17-2005
Quote:
Originally Posted by kisoun
One question. what do you mean with that : "2) Make sure /usr/local/bin is before /usr/bin and /usr/ccs/bin in your path" ??
Your path is the list of directories that the system looks in to find the command you type on the command line.

echo $PATH

will show it. From your previous post you're using csh so the setenv commands you're using are more appropriate (export is used in sh, ksh and bash). The csh command is:

set path = (/usr/local/bin $path)

then

echo $PATH

to make sure its updated.

Quote:
Originally Posted by kisoun
By-default all the binaries, libraries, are being installed in /usr/local/bin, /usr/local/lib, /usr/local/sbin, and /usr/ccs/bin.
After the installation, I'm making links into the below folders. /usr/bin,
/usr/lib, /usr/sbin
I'm a little confused. Unless you're installing standard system packages you shouldnt be adding anything to /usr/ccs/bin and you should not be adding links in /usr/bin and /usr/sbin. This is why you need ot make sure your PATH and LD_LIBRARY_PATH are set correctly.

The reason I suggested you uninstall all the packages and re-install the ones from sunfreeware is to ensure you have a clean installation. The cleaner the installation the less chance of problems happening. Also the distributions from sunfreeware all come as Solaris packages which makes for much cleaner installs/uninstalls. It sounds like you've tries a lot of things and it maybe that the state of the install is a little confused another reason to clean it up.

Also you mention Berkeley DB which by default installs into its own directory, so in order to use it you may need to add the Berkeley DB library directory to your LD_LIBRARY_PATH as well.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris 9 x86 and Sparc?

Hi, What is the difference between Solaris 9 x86 and Sparc besides the hardware. Is all the command the same or there are a difference? Plus where can go to get more information on the differences. Many thanks, -n (2 Replies)
Discussion started by: Insomniac
2 Replies

2. Solaris

Samba on Solaris 9, Sparc.

hi guys, This is prolly more of a dummies question, but here goes. I want to make my Ultra 5 workstation into a samba server. I have solaris 9 installed with the latest patch cluster. if I do: pkginfo | grep samba I get : # pkginfo | grep samba system SUNWsmbac ... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

3. UNIX for Dummies Questions & Answers

Solaris 7 Sparc 5

First of all, I want to salute everybody. Since a week ago I put myself many troubles. :) I decide to install Solaris 7, in a sun sparcstation 5, with raid5. And I don't know almost anything about unix systems, not only Solaris. :) I want to install mysql, apache, php4. I'm not... (4 Replies)
Discussion started by: kisoun
4 Replies

4. UNIX for Dummies Questions & Answers

Running Solaris Sparc Apps on X86 Solaris

I know that Sun make s a version of Solaris for Sparc platforms and also an x86 (Intel/AMD) release of Solaris. Can an application that runs on Solaris/Sparc also run on a PC running the x86 release of Solaris? Would a different release be required or any re-compling of the application? jim (1 Reply)
Discussion started by: stocksj
1 Replies

5. UNIX for Dummies Questions & Answers

can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?

Hi Gurus can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC? regards, Israel. (9 Replies)
Discussion started by: iga3725
9 Replies

6. UNIX for Dummies Questions & Answers

Solaris for a training: PC vs Sparc

I need a computer to try Solaris. I'm learning with UNIX Academy training DVDs and after spending much time with Linux I want to try and learn on Solaris. I'll have to buy a computer for my training anyway. I found on ebay plenty of inexpensive Sun boxes. Would it be beneficial for learning to have... (26 Replies)
Discussion started by: newlinuxuser1
26 Replies

7. Solaris

How to read this Solaris version:-Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC?

Hi Guys, Could you please tell me how to read this Solaris version:- Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC Thanks. (3 Replies)
Discussion started by: manalisharmabe
3 Replies

8. Solaris

Solaris 11 SPARC GUI

Hi, Is there anyway to install gui without using update from internet? I mean from DVD or other local disc install. Most of tutorial i forund, they show install gui using pkg update from internet. But now our server not yet have internet because ISP does not provide yet. Please show me the... (18 Replies)
Discussion started by: mzainal
18 Replies
menu_hook(3CURSES)					     Curses Library Functions						menu_hook(3CURSES)

NAME
menu_hook, set_item_init, item_init, set_item_term, item_term, set_menu_init, menu_init, set_menu_term, menu_term - assign application-spe- cific routines for automatic invocation by menus SYNOPSIS
cc [ flag... ] file... -lmenu -lcurses [ library... ] #include <menu.h> int set_item_init(MENU *menu, void (*func)(MENU *)); int set_item_term(MENU *menu, void (*func)(MENU *)); void item_term(MENU *menu); int set_menu_init(MENU *menu, void (*func)(MENU *)); void menu_init(MENU *menu); int set_menu_term(MENU *menu, void (*func)(MENU *)); void menu_term(MENU *menu); DESCRIPTION
set_item_init() assigns the application-defined function to be called when the menu is posted and just after the current item changes. item_init() returns a pointer to the item initialization routine, if any, called when the menu is posted and just after the current item changes. set_item_term() assigns an application-defined function to be called when the menu is unposted and just before the current item changes. item_term() returns a pointer to the termination function, if any, called when the menu is unposted and just before the current item changes. set_menu_init() assigns an application-defined function to be called when the menu is posted and just after the top row changes on a posted menu. menu_init() returns a pointer to the menu initialization routine, if any, called when the menu is posted and just after the top row changes on a posted menu. set_menu_term() assigns an application-defined function to be called when the menu is unposted and just before the top row changes on a posted menu. menu_term() returns a pointer to the menu termination routine, if any, called when the menu is unposted and just before the top row changes on a posted menu. RETURN VALUES
Routines that return pointers always return NULL on error. Routines that return an integer return one of the following: E_OK The routine returned successfully. E_SYSTEM_ERROR System error. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
curses(3CURSES), menus(3CURSES), attributes(5) NOTES
The header <menu.h> automatically includes the headers <eti.h> and <curses.h>. SunOS 5.11 31 Dec 1996 menu_hook(3CURSES)
All times are GMT -4. The time now is 04:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy