I found the solution :)

Inside the following files:

Makefile
Makefile.am
Makefile.in

I have replaced the "-iquote" with "-I"
Now I am facing another problem during the make:

[..]
tmux.c:22:17: err.h: No such file or directory
tmux.c: In function `main':
tmux.c:193: warning: implicit declaration of function `errx'
gmake: *** [tmux.o] Error 1
t44d-01# gmake install
depbase=`echo tmux.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DPACKAGE_NAME=\"tmux\" -DPACKAGE_TARNAME=\"tmux\"
-DPACKAGE_VERSION=\"2.3\" -DPACKAGE_STRING=\"tmux\ 2.3\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tmux\"
-DVERSION=\"2.3\" -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_DIRENT_H=1
-DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_SYSCONF=1
-DHAVE_CURSES_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_ASPRINTF=1 -DHAVE_OPENAT=1 -DHAVE_DECL_OPTARG=0 -DHAVE_DECL_OPTIND=0
-DHAVE_DECL_OPTRESET=0 -DHAVE_PROC_PID=1  -I.   -I/tmp/tmux-install/include
-D_XPG6 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
-DTMUX_CONF="\"/etc/tmux.conf\""  -I. -D_XPG6 -D__EXTENSIONS__
-D_POSIX_PTHREAD_SEMANTICS    -std=gnu99 -O2     -MT tmux.o -MD -MP -MF
$depbase.Tpo -c -o tmux.o tmux.c &&\
mv -f $depbase.Tpo $depbase.Po
tmux.c:22:17: err.h: No such file or directory
tmux.c: In function `main':
tmux.c:193: warning: implicit declaration of function `errx'
gmake: *** [tmux.o] Error 1

server_name#


ideas ? I will work on it tomorrow.... any additional help would be nice :)



On 2 December 2016 at 18:03, nalingijo <[email protected]> wrote:

> Hi guys,
>
> trying to compile the Tmux 2.3 on my Oracle Solaris 10 1/13.
> I have ncurses-5.9 and  libevent-2.0.21-stable already compiled and
> installed. Now, the tmux is dropping error message on "make":
>
> server_name# make
> depbase=`echo alerts.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> gcc -DPACKAGE_NAME=\"tmux\" -DPACKAGE_TARNAME=\"tmux\"
> -DPACKAGE_VERSION=\"2.3\" -DPACKAGE_STRING=\"tmux\ 2.3\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tmux\"
> -DVERSION=\"2.3\" -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_DIRENT_H=1
> -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_SYSCONF=1
> -DHAVE_NCURSES_H=1 -DHAVE_PROC_PID=1  -I.    -I/tmp/tmux-install/include
> -I/tmp/tmux-install/include -D_XPG6 -D_XOPEN_SOURCE
> -D_XOPEN_SOURCE_EXTENDED  -DTMUX_CONF="\"/etc/tmux.conf\""   -iquote.
> -D_XPG6 -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS    -std=gnu99 -O2
>  -MT alerts.o -MD -MP -MF $depbase.Tpo -c -o alerts.o alerts.c &&\
> mv -f $depbase.Tpo $depbase.Po
> cc1: error: unrecognized command line option "-iquote."
> *** Error code 1
> make: Fatal error: Command failed for target `alerts.o'
>
> server_name#
>
>
> any ideas ?
>

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to