After moving my mod_perl site from Linux hosting to FreeBSD, I have this error in the logfile:
Your vendor has not defined POSIX macro SIGRTMIN, used at ../../lib/POSIX.pm (autosplit into ../../lib/auto/POSIX/SigRt/_init.al) line 993\n
The script just imports POSIX and utilizes some functions (ceil, etc)
How can I solve th...
See my answer below. Leaving this up in case it helps someone else.
Hi guys,
What follows is a series of attempts to dump a query to an outfile on a new FreeBSD box that my site has moved to. The results are the same if I log in as me or if I log in as root. I hope the style isn't too annoying. I have my comments commented out arou...
Hi.
I have a plan to build a web-site which running CGI made with Cocoa.
My final goal is develop on Mac OS X, and run on FreeBSD.
Is this possible?
As I know, there is a free implementation of some NextStep classes, the GNUStep.
The web-site is almost built with only strings. I read GNUStep documents, classes are enough. DB connection ...
I want to streamline my library on FreeBsd using PUID from MusicBrainz. I need a command line utility for this, but I have not been able to find. It would be nice to give input mp3-file and receive PUID as result.
...
I'd like to run the Flex SDK compiler toolchain on our FreeBSD integration server to get around some nasty things like having to check in compiled Flex artifacts (yuck, I know!).
Is this possible? Any success stories? What do I need to do to make it happen?
It's worth noting that we have and use the data visualization components under ...
Once when I got my hand on openbsd I was really happy to have black and white terminal, I, somehow, orienting much more with b/w colors..
Anyway I know just one option to do it.
export TERM="linux-m"
and openbsd used something else like "vt8.." i don't remember.
Now I have freebsd on my dedicated server, I want to have black and w...
hi
i have a problem with xdebug on a FreeBSD server. on that server xdebug profiler's cachegrind files say that executing time of native functions (such as DOMDocument::load() or XSLTStylesheet::importStylesheet) is about 50% of total script execution time. and with profiler turned off those functions work for less than 0.1%
on my own ...
Among the atomic operations provided by BSD (as given on the atomic(9) man page), there are atomic_load_acq_int() and atomic_store_rel_int(). In looking for the equivalent for other OSs (for example, by reading the atomic(3) man page for Mac OS X, the atomic_ops(3C) man page for Solaris, and the Interlocked*() functions for Windows), th...
This is very puzzling to me because the code compiles without errors on a Debian 5 system but on a FreeBSD 7 I get a syntax error here on line 98 for example.
int ipmi_fru_get_board_info_mfg_time(ipmi_fru_t *fru, time_t *time);
Originally there was a line break between *fru, and time_t. Not sure what could cause these compiler erro...
I've been having some trouble with FreeBSD and large mmaps. Linux does not show the same problems.
On program startup it can always get the 1 GB map. However, there's a reload operation where the file is replaced and remapped. The new map is usually just a little bigger each time so it doesn't fit neatly into the old mmap location. This...
Look at the following implementations of the "echo" command:
http://www.openbsd.org/cgi-bin/cvsweb/src/bin/echo/echo.c?rev=1.7;content-type=text%2Fx-cvsweb-markup (OpenBSD)
http://cvsweb.netbsd.org/bsdweb.cgi/src/bin/echo/echo.c?rev=1.18&content-type=text/x-cvsweb-markup&only_with_tag=MAIN (NetBSD)
http://www.freebsd.org/cgi/cv...
I was looking through the main makefile in the ports tarball of FreeBSD.
I saw the following include directive:
PORTSTOP= yes
.include <bsd.port.subdir.mk>
index:
@rm -f ${INDEXDIR}/${INDEXFILE}
@cd ${.CURDIR} && make ${INDEXDIR}/${INDEXFILE}
and was wondering why a period was in front of include.
Also, are they using GN...
Hi,
I am trying to upload multiple files simultaneously. after establishing a data connection in passive mode, my client sending another "pasv" request to the vsftp server to get server and port value. so that i can connect to the vsftpd using the new set of port and ip values. but server(vsftpd) is not responding for this second pasv co...
Any suggestions?
Thanks!
...
Hi everyone,
I'm using kqueue for socket synchronization in OS X. I can register an event of interest like the following:
struct kevent change;
EV_SET(&change, connected_socket, EVFILT_READ, EV_ADD, 0, NULL, NULL);
kevent(k_queue_, &change, 1, NULL, 0, NULL);
And the question is, is there a way to trigger this event by force so that ...
Would a very small/simple command line program, programmed in standards compliant C99, and statically compiled on FreeBSD work if executed on Linux ?
(I would test this myself but I do not currently have a separate HDD to test on Linux.)
...
What is the most efficient way of getting current time/date/day/year in C language? As I have to execute this many times, I need a real efficient way.
I am on freeBSD.
thanks in advance.
...
We have a FreeBSD server. Primary IP is 11.11.11.11. Also there are two additional IPs 22.22.22.22 and 33.33.33.33.
Need to set up a firewall on this server doing the following:
If user downloads from 11.11.11.11, grant him 5Mbit guaranteed bandwidth.
If user downloads from 22.22.22.22 limit download bandwidth to 320Kbit per incoming ...
I'm trying to configure Apache 2.2 from ports (in FreeBSD). I've written my own makefile with my desired compile options and as far as I can tell, everything seems to check out. I.e.:
make -V <env_var> __MAKE_CONF=~/mk/make.apache22.conf
returns what I expect except for PERL5 and USE_PERL5. I've tried setting both variables in make....
I am using write() on a opened data socket in FTP implementation to send the file out. But after writing some data it is hanging for some time; and after that it is returning with Broken pipe error. any help in this will greatly appreciated. My process reads packets from one buff and writes in to the socket. I noticed this problem with i...