[Samba] Samba 3.4.17 -Solaris10_U10- make- Fatal error with talloc

Gaiseric Vandal gaiseric.vandal at gmail.com
Tue May 15 06:54:05 MDT 2012


Solaris 10 patches include samba.

On Solaris 10 sparc
119757-21 (3.5.10)  or 119757-22  (3.6.4)


On Solaris 10 x86
119758-21 (3.5.10)  or 119758-22  (3.6.4)

A lot easier than compiling from scratch.

Make sure you set LD_LIBRARY_PATH.  If using GCC to compile you may also
need to set compiler and linker flags eg.

CPPFLAGS="-I /usr/local/include -I/usr/local/ssl/include
-I/usr/include....."

LDFLAGS="-L/usr/local/lib -R/usr/local/lib ...."

GCC on Solaris 10 (whether from Sun or sunfreeware.com) uses  Sun make,
not gnu make.    That causes problems with compiling some things like
samba.     You may have better luck using sun studio CC and dmake.




On 05/14/12 22:38, prabu.murugan at emc.com wrote:
> Hi,
>
> This is Prabu. I am trying to compile samba on Solaris 10_U10.
> I have posted the same in bugzilla. https://bugzilla.samba.org/show_bug.cgi?id=8939
>
> User requirement is to compile samba 3.4.17 to support their application. 3.4.17 is working on Solaris 9 and Solaris 10_U5. But not on Solaris 10_U10.
> ./configure and make gives error related to talloc. I have set the PKG_CONFIG_PATH. It is not picking up from it. I have attached config.log in the bug. Let me know if you need further info from me.
>
> Please help me to fix this issue.
>
> bash-3.2# more config.err
> Package talloc was not found in the pkg-config search path.
> Perhaps you should add the directory containing `talloc.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'talloc' found
>
> bash-3.2# echo $PKG_CONFIG_PATH
> /usr/local/lib/pkgconfig/
> bash-3.2# ls -ld /usr/local/lib/pkgconfig/talloc.pc
> -rw-r--r--   1 root     root         298 May 12 23:22
> /usr/local/lib/pkgconfig/talloc.pc
>
>
> Thanks and Regards,
> Prabu PM
> Managed Hosting - Private Cloud Infrastructure Group - UNIX
> EMC² Data Storage Systems (India) Pvt. Ltd, Bangalore, India.
> *+91 80 67377875 | Extn: 785 7875
> * Prabu.murugan at emc.com | Group Email: PCIG_Bangalore_Services_Managed_Hosting at emc.com
> Success consists of going from failure to failure without loss of enthusiasm.
>



More information about the samba mailing list