On Tue, Nov 27, 2012 at 03:08:20PM +0000, Philip Herron wrote:
> Hey there
> 
> I got it to configure with:
> 
> ./configure CC=suncc CXX=sunCC CFLAGS="-fast -xO5 -xunroll=20"
> CFLAGS="-I/opt/csw/include" LDFLAGS="-L/opt/csw/lib"
> --prefix=/opt/tmux
> 
> using pkgutil -i -y CSWlibevent_dev

I built libevent in 32 bit mode and installed it in /usr/local/lib


> Checkout opencsw.org for solaris you get pkgutil for loads of useful
> packages so you dont have to compile and install yourself. But now i
> got:
> 
> suncc -DPACKAGE_NAME=\"tmux\" -DPACKAGE_TARNAME=\"tmux\"
> -DPACKAGE_VERSION=\"1.7\" -DPACKAGE_STRING=\"tmux\ 1.7\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tmux\"
> -DVERSION=\"1.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CURSES_H=1
> -DHAVE_DIRENT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_B64_NTOP=1 -DHAVE_LIBXNET=1
> -DHAVE_CLOSEFROM=1 -DHAVE_DAEMON=1 -DHAVE_SETENV=1 -DHAVE_STRLCPY=1
> -DHAVE_STRLCAT=1 -DHAVE_DECL_OPTARG=0 -DHAVE_DECL_OPTIND=0
> -DHAVE_DECL_OPTRESET=0 -DHAVE_BZERO=1 -DHAVE_SYSCONF=1
> -DHAVE_PROC_PID=1 -I.   -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
> -D_XPG4_2 -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS
> -I/opt/csw/include     -erroff=E_EMPTY_DECLARATION -c client.c
> "client.c", line 81: warning: implicit function declaration: flock
> "client.c", line 81: undefined symbol: LOCK_EX
> "client.c", line 81: undefined symbol: LOCK_NB
> "client.c", line 246: warning: implicit function declaration: cfmakeraw
> cc: acomp failed for client.c
> 
> So looking into it now see if i can figure out whats going on.

Thanks, this is where I gave up. Hopefully you can figure it out. Looks like
it's getting the wrong copy of flock somehow but Solaris path hell makes it
pretty hard.

I don't use any of the package sites and so far I've been able to build
everything I need...until tmux!

Thanks.

/jl

-- 
ASCII ribbon campaign ( ) Powered by Lemote Fuloong
 against HTML e-mail   X  Loongson MIPS and OpenBSD
   and proprietary    / \    http://www.mutt.org
     attachments     /   \  Code Blue or Go Home!
 Encrypted email preferred  PGP Key 2048R/DA65BC04 

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to