LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-22-2010, 10:19 AM   #1
caroulia
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
Unhappy Samba 3.3 or later on Slackware 12 - what's the best way?


I'm trying to upgrade the Samba server on a Slackware 12 box to serve as PDC for Windows 7 32bit machines (it now has a 3.0.3 and does the job for Win XP machines, but 7 refuses to join the domain - I'm posting this after having tried a few dozen hacks on the windows registry).

I'm a newbie on Slackware (I usually dwell in Ubuntu) so I may be going about this the wrong way but this is what I've done so far:

The Samba wiki has a couple of hacks for the registry and also seems to suggest a version later than 3.3 (though not in so many words) http://wiki.samba.org/index.php/Windows7

Having scoured the net for later Samba packages/binaries for Slackware 12 and gotten precisely nowhere, I decided that maybe I could compile the blessed thing. But I keep on getting compiler errors.

BTW, I'm using this SlackBuild script http://ftp.twaren.net/Linux/slackwar...mba.SlackBuild

Is there a way to make this happen without upgrading the base system? it has so many finely tuned things running that I prefer not to mess with the rest of the setup.]
 
Old 02-23-2010, 02:51 AM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
What errors are you getting specifically?
 
Old 02-23-2010, 06:29 AM   #3
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 281

Rep: Reputation: 42
I think that 3.4.x is recommended specifically for Windows Vista/7 and Win2k8, and later. You haven't mentioned though what compiler errors you are getting. With a bit of luck, you should be able to tweak the Slackware 12 script ( ie. the one provided with the dist ).
 
Old 02-24-2010, 05:41 AM   #4
caroulia
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for replying guys, really appreciated

OK, so I'm trying to build 3.4.4 (that's the version the SlackBuild script I mentioned above is targeting).

The error I get after running it - it seems to be decompressing the files properly - then it goes:

Code:
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/tmp/samba-3.4.4/source3':
configure: error: C compiler cannot create executables
See `config.log' for more details.
The actual config.log in /tmp/samba-3.4.4/source3/ says

Code:
configure:3456: checking for C compiler default output file name
configure:3478: gcc -O2 -march=i486 -mtune=i686   conftest.c  >&5
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/ld:
 crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3482: $? = 1
configure:3520: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Samba"
| #define PACKAGE_TARNAME "samba"
| #define PACKAGE_VERSION "3"
| #define PACKAGE_STRING "Samba 3"
| #define PACKAGE_BUGREPORT "samba-technical@samba.org"
| #define CONFIG_H_IS_FROM_SAMBA 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3526: error: in `/tmp/samba-3.4.4/source3':
configure:3529: error: C compiler cannot create executables
See `config.log' for more details.
Sorry for not posting the details earlier - I guess I was hoping someone would say: "No, you are doing it all wrong: here is a repository of pre-compiled tgz Samba versions."
 
Old 02-25-2010, 12:59 AM   #5
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 281

Rep: Reputation: 42
Looks to me like you're missing a system library - crt1.o should be in package glibc ... make sure you've got this file on your system ( normally in /usr/lib ). If not then you may have to reinstall your glibc package.

Last edited by rpedrica; 02-25-2010 at 01:00 AM.
 
  


Reply

Tags
package, samba, slackware, upgrade


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Samba with AD on Slackware? xj25vm Slackware 1 06-06-2008 12:04 PM
Slackware 10.1 Samba Help CSabinzx2 Linux - Networking 3 07-22-2005 01:20 AM
Samba on Slackware 7.1 Echo Kilo Linux - Software 2 03-01-2005 02:39 PM
Slackware 9.1 - Samba! help me please! Introx Slackware 2 05-29-2004 08:08 PM
Samba On Slackware 9.0 Johnsernickle Linux - Networking 1 09-24-2003 09:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration