samba for solaris 9 help!!


 
Thread Tools Search this Thread
Operating Systems Linux samba for solaris 9 help!!
# 8  
Old 11-08-2003
This is what I entered and what I go back in return...

# CC=/path/to/compiler/cc ./configure
Configuring for a i386-pc-solaris2.9 host.
Created "Makefile" in /usr/local/src/gcc-3.2.1 using "mh-frag"
./configure: /path/to/compiler/cc: not found
*** The command '/path/to/compiler/cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
#

I was currently in the dir /usr/local/src/gcc-3.2.1 (where I put the file after I extracted it from tar)

Could anyone tell me what I'm doing wrong?

--
N0C
# 9  
Old 11-08-2003
OK..

Try this :
download the packages gcc and gmake to /tmp on the solaris box
from WWW.SUNFREEWARE.COM
for solaris 9 intel (if thats what you are running.)

unpack them with gzip -d <packagename.gz>
then
# pkgadd -d /tmp/name_of_gcc_package
# pkgadd -d /tmp/name_of_gmake_package

when they are installed (they install in /usr/local/bin/gcc and make

try
# /usr/local/bin/gcc
should return gcc: no input files

now you have the compiler installed.

now setup the path :
first we will use the sh shell

type this :
# sh
# PATH=$PATH:/usr/local/bin/:/usr/ccs/bin/
# export PATH
(set the CC just to be sure)
# CC=/usr/local/bin/gcc
# export CC

then do
# cd /tmp
try
# gcc
(to see if path is working should retunr no inputfiles)

when this is done go to the samba dir
type
# ./configure
make
make install

give that a shoot Smilie

/Peter
# 10  
Old 11-09-2003
I got up to the part where I'm adding the package for install, I finished installing make and I was doing the pkgadd -d command with the gcc but it says:

cpio: Cannot write "reloc/info/gcc.info-6", errno 28, No space left on device

(and repeats for a number of lines)

pkgadd: ERROR: attempt to process datastream failed
- process </usr/bin/cpio -icdumD -C 512> failed, exit code 52
pkgadd: ERROR: unable to unpack datastream

Installation of <SMCgcc> failed <internal error>.
No changes were made to the system.
#

When that happened, i tried to install make, and it went through just fine. I got a 20gb hd that solaris is occupying. All the partitions should be enough to install the gcc.

--still stumped
NOC
# 11  
Old 11-09-2003
This sounds simliar to my last post. From my novice point of view, you're trying to compile a compiler, but don't have a compiled compiler to do the compiling. I've heard that there is a compiled version out there at some MIT ftp site, but I have been checking for days now and the server has not been reachable. Let me know if you find a solution to this problem because I am seemingly in the same boat. You would think that GNU would host a compile version of the compiler, but they don't.

--AJ
# 12  
Old 11-10-2003
How much space do you have left on the /var filesystem. pkgadd spools pkgs there.. and gcc is big.. like 300MB .. so you need more than 300MB free on /var
/peter
# 13  
Old 11-10-2003
I believe I have enough space, my HD is 20GB and I did the auto allocation that Sun recommended. I do not remember how much space is in /var, but possibly I could re-install the oe again. What command could I use to check the storage space available on that partition?
# 14  
Old 11-13-2003
use df -k to check.

If you let solaris make the slices for you there is a chance that there is not enough space on /var

if you reinstall i would recommend you make var at least 1 gb.

or just make one big / and put everything in there..

/Peter
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Samba on Solaris 10

Somebody has installed samba 3.0.24 on (not only mine) a sun solaris 10. I can see the dir /usr/local/samba with all the files in, well I suppose that there are all its files in but, I can't see the file smb.conf that, reading various help on the net should be in dir /etc/samba or /etc. In this... (2 Replies)
Discussion started by: aemme
2 Replies

2. Solaris

How to stop samba on solaris 10?

Hello to everybody from Argentina. I need to stop samba because i need to fsck a filesystem How can i do this? I presume that the version is higher than 3.0. /usr/sfw/sbin/smbd -D This is the out of ps -ef | grep smbd. Thank you very much for your time i am a litle lost. The... (4 Replies)
Discussion started by: enkei17
4 Replies

3. Solaris

Configuring samba in solaris x-86

I just wanted to know if I can configure samba on solaris 10 x-86. I was just wondering if the samba is in-built software gets shipped with Operating System CD. I have searched a lot on many sites and forums but still not getting any way to make it. It would be really appreciable if some can... (1 Reply)
Discussion started by: naw_deepak
1 Replies

4. Solaris

installing samba on solaris 8

i am a rookie so please give every detail... i need help installing samba on my solaris 8 (intel) box so i can share with WXP box. i can get online, but can only see websites as outline\text form but managed to download "samba-latest.tar.z" is this correct? and what is next step to get it up and... (1 Reply)
Discussion started by: flir11
1 Replies

5. Solaris

To run samba on solaris

Hi to all, i need to run samba on solaris8 workstation. if please tell me the procedure to which script, i have to run. Thankyou. waiting for reply. (2 Replies)
Discussion started by: balarajum
2 Replies

6. Solaris

How do I sync passwords between Samba and Solaris?

Hi, everyone. I have recently installed Samba version 3.0.23d on my Solaris 10 box. I am attempting to sync Samba's passwords with the UNIX passwords on the system. I read about using a pam module that is included with the samba tar called pam_smbpass.so. The instructions say to issue the make... (0 Replies)
Discussion started by: lazytech
0 Replies

7. Solaris

Samba 3.0.14 on Solaris 10 issues

Hello All, I am facing a wierd problem with the Samba 3.0.14a on Solaris 10 and CUPS (1.1.12) printing. First of all am not sure if this combination works well. If someone could throw some light, it would be of great help. Samba is setup with security=server, and it is currently a member of... (0 Replies)
Discussion started by: Sapna
0 Replies

8. 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

9. Solaris

Troubleshooting Samba on Solaris 8

I am new to unix so bear with me, i have solaris 8 installed running samba server..... Some Windows 2000 clients are having issues connecting to the folders on the samba server...they can connect, but cannot view anything in the folders .... what do you recommend? thanks rob davis (0 Replies)
Discussion started by: davisr65
0 Replies
Login or Register to Ask a Question