Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2002 18:37:11 -0400
From:      unix@usww.com
To:        vchat@enforcer.cc
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: vchat-2.42c
Message-ID:  <3DB9C797.7050403@usww.com>

next in thread | raw e-mail | index | archive | help
I can not seem to locate minimum requirements for this program. I 
installed it in 4.5 and the vserver executes and comes back to the 
command line but does not actually run. After ./configure I did the 
make/make install the only problem I saw was:
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c vio.c
vio.c: In function `vio_write':
vio.c:44: warning: argument `buf' might be clobbered by `longjmp' or `vfork'
vio.c: In function `vio_read':
vio.c:171: warning: argument `buf' might be clobbered by `longjmp' or 
`vfork'

Of course when I access the server through the .class from the webpage
it does not connect.

Thanks in advance,

Ben Bentsen

------------------------------------
   Output from config and make
------------------------------------
su-2.05a# ./configure
creating cache ./config.cache
checking host system type... i386-unknown-freebsd4.5
checking target system type... i386-unknown-freebsd4.5
checking build system type... i386-unknown-freebsd4.5
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for rm... /bin/rm
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for string.h... yes
checking for strings.h... yes
checking for ctype.h... yes
checking for unistd.h... yes
checking for memory.h... yes
checking for syslog.h... yes
checking for termios.h... yes
checking for stropts.h... no
checking for sys/conf.h... yes
checking for sys/uio.h... yes
checking for sys/select.h... yes
checking for sys/param.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for u_char... yes
checking for u_short... yes
checking for u_long... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking whether to add '-Wall' to CFLAGS... yes
checking for 8-bit clean memcmp... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking types of arguments for select()... int,fd_set *,struct timeval *
checking for strftime... yes
checking for vprintf... yes
checking for strsep... yes
checking for fpurge... yes
checking for bzero... yes
checking for bcmp... yes
checking for bcopy... yes
checking for memset... yes
checking for memcmp... yes
checking for memcpy... yes
checking for herror... yes
checking for hstrerror... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for daemon... yes
checking for madvise... yes
checking for syslog... yes
checking for vsyslog... yes
checking for elf_begin in -lelf... no
checking for kvm_open in -lkvm... yes
checking for getloadavg in -lutil... yes
checking for getloadavg... yes
checking whether getloadavg requires setgid... (cached) yes
checking group of /dev/kmem... kmem
checking for appropriate OS_TYPE string... BSD4
checking for version and release date... 2.42f / 13 Jul 2002
checking how to get system information... sysctl
checking wheter struct sockaddr_un has a sun_len field... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/vserver/Makefile
creating src/vchatctl/Makefile
creating config.h
su-2.05a# make
making all in src
making all in src/vserver
/bin/rm -f .depend
gcc -M -I../.. -I./include acl.c  auth.c  cmd_acl_add.c 
cmd_acl_delete.c  cmd_acl_flush.c  cmd_acl_list.c  cmd_action.c 
cmd_addnick.c  cmd_asstopic.c  cmd_broadcast.c  cmd_chaccperm.c 
cmd_chanlist.c  cmd_chchan.c  cmd_chmodperm.c  cmd_chnick.c 
cmd_chpasswd.c  cmd_chtopic.c  cmd_clientinfo.c  cmd_clopt.c 
cmd_delnick.c  cmd_exclude.c  cmd_fixchan.c  cmd_invite.c  cmd_kill.c 
cmd_lastlog.c  cmd_page.c  cmd_prvmsg.c  cmd_pubmsg.c  cmd_query.c 
cmd_rtcmp.c  cmd_setpasswd.c  cmd_signmsg.c  cmd_signoff.c  cmd_signon.c 
  cmd_status.c  cmd_svdnsopt.c  cmd_svopt.c  cmd_ulist.c  cmd_version.c 
  cmd_wakeup.c  global.c  microtime.c  os_info.c  dnschk.c  serv_subr.c 
  table.c  usage.c  vchatctl.c  vclientconn.c  vcommand.c  vio.c  vlog.c 
  vserver.c  vtopic.c  win32util.c > .depend
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c acl.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c auth.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_acl_add.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_acl_delete.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_acl_flush.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_acl_list.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_action.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_addnick.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_asstopic.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_broadcast.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_chaccperm.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_chanlist.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_chchan.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_chmodperm.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_chnick.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_chpasswd.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_chtopic.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_clientinfo.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_clopt.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_delnick.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_exclude.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_fixchan.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_invite.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_kill.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_lastlog.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_page.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_prvmsg.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_pubmsg.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_query.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_rtcmp.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_setpasswd.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_signmsg.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_signoff.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_signon.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_status.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_svdnsopt.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_svopt.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_ulist.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_version.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c cmd_wakeup.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c global.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c microtime.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c os_info.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c dnschk.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c serv_subr.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c table.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c usage.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c vchatctl.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c vclientconn.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c vcommand.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c vio.c
vio.c: In function `vio_write':
vio.c:44: warning: argument `buf' might be clobbered by `longjmp' or `vfork'
vio.c: In function `vio_read':
vio.c:171: warning: argument `buf' might be clobbered by `longjmp' or 
`vfork'
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c vlog.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c vserver.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c vtopic.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c win32util.c
gcc -o vserver acl.o  auth.o  cmd_acl_add.o  cmd_acl_delete.o 
cmd_acl_flush.o  cmd_acl_list.o  cmd_action.o  cmd_addnick.o 
cmd_asstopic.o  cmd_broadcast.o  cmd_chaccperm.o  cmd_chanlist.o 
cmd_chchan.o  cmd_chmodperm.o  cmd_chnick.o  cmd_chpasswd.o 
cmd_chtopic.o  cmd_clientinfo.o  cmd_clopt.o  cmd_delnick.o 
cmd_exclude.o  cmd_fixchan.o  cmd_invite.o  cmd_kill.o  cmd_lastlog.o 
cmd_page.o  cmd_prvmsg.o  cmd_pubmsg.o  cmd_query.o  cmd_rtcmp.o 
cmd_setpasswd.o  cmd_signmsg.o  cmd_signoff.o  cmd_signon.o 
cmd_status.o  cmd_svdnsopt.o  cmd_svopt.o  cmd_ulist.o  cmd_version.o 
cmd_wakeup.o  global.o  microtime.o  os_info.o  dnschk.o  serv_subr.o 
table.o  usage.o  vchatctl.o  vclientconn.o  vcommand.o  vio.o  vlog.o 
vserver.o  vtopic.o  win32util.o  -lutil -lkvm
making all in src/vchatctl
/bin/rm -f .depend
gcc -M -I../.. -I./include main.c  usage.c  vctl_html.c  vctl_subr.c 
vctl_text.c  vctl_webchatlist.c > .depend
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c main.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c usage.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c vctl_html.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c vctl_subr.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c vctl_text.c
gcc -Wall -g -O2 -I../.. -I./include -DHAVE_CONFIG_H -c vctl_webchatlist.c
gcc -o vchatctl main.o  usage.o  vctl_html.o  vctl_subr.o  vctl_text.o 
vctl_webchatlist.o  -lutil -lkvm
su-2.05a# make install
making install in src
making install in src/vserver
/usr/bin/install -c -s -m 111 vserver /usr/local/sbin
/usr/bin/install -c -m 444 vserver.8 /usr/local/man/man8
making install in src/vchatctl
/usr/bin/install -c -s -m 111 vchatctl /usr/local/sbin
/usr/bin/install -c -m 444 vchatctl.8 /usr/local/man/man8
su-2.05a# ls -l /usr/local/sbin
total 154
-rwxr-xr-x  1 root  wheel  17144 Mar 23  2002 snmpd
-rwxr-xr-x  1 root  wheel  29828 Mar 23  2002 snmptrapd
---x--x--x  1 root  wheel  14452 Oct 25 18:21 vchatctl
---x--x--x  1 root  wheel  91880 Oct 25 18:21 vserver
su-2.05a# pwd
/usr/local/www/data/vchat/vserver-2.42f
su-2.05a# vserver -a 10.0.1.254 -p 1168 -d -n testchat -P 
/var/run/Vserver -L /usr/local/www/data/vchat/MyLog


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DB9C797.7050403>