Bug 74642 - New port: devel/log4cplus C++ logging API, similar to log4j
Summary: New port: devel/log4cplus C++ logging API, similar to log4j
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-03 08:50 UTC by Petri Tötterman
Modified: 2004-12-09 15:14 UTC (History)
0 users

See Also:


Attachments
file.shar (4.92 KB, text/plain)
2004-12-03 08:50 UTC, Petri Tötterman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petri Tötterman 2004-12-03 08:50:12 UTC
This is a port of log4cplus, a simple-to-use C++ logging API providing
thread-safe, flexible, and arbitrarily granular control over log management and configuration. It is modeled after the Java log4j API.

This is a corrected version of PR ports/74033 which I sent in November 2004.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-12-05 00:15:28 UTC
State Changed
From-To: open->feedback

Does not compile on FreBSD 5.3 (gcc 3.4): 

/bin/sh /usr/local/bin/libtool15 --mode=compile c++ -DHAVE_CONFIG_H  -I. -I. -I../include/log4cplus -I../include -Wall -D_REENTRANT   -O -pipe -c -o socketbuffer.lo `test -f 'socketbuffer.cxx' || echo './'`socketbuffer.cxx 
c++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cplus -I../include -Wall -D_REENTRANT -O -pipe -c socketbuffer.cxx  -fPIC -DPIC -o .libs/socketbuffer.o 
socketbuffer.cxx: In member function `short unsigned int log4cplus::helpers::SocketBuffer::readShort()': 
socketbuffer.cxx:140: error: `ntohs' undeclared (first use this function) 
socketbuffer.cxx:140: error: (Each undeclared identifier is reported only once for each function it appears in.) 
socketbuffer.cxx: In member function `unsigned int log4cplus::helpers::SocketBuffer::readInt()': 
socketbuffer.cxx:162: error: `ntohl' undeclared (first use this function) 
socketbuffer.cxx: In member function `void log4cplus::helpers::SocketBuffer::appendShort(short unsigned int)': 
socketbuffer.cxx:253: error: `htons' undeclared (first use this function) 
socketbuffer.cxx: In member function `void log4cplus::helpers::SocketBuffer::appendInt(unsigned int)': 
socketbuffer.cxx:268: error: `htonl' undeclared (first use this function) 
socketbuffer.cxx: In member function `void log4cplus::helpers::SocketBuffer::appendSize_t(size_t)': 
socketbuffer.cxx:284: error: `htonl' undeclared (first use this function) 
*** Error code 1 

Can you fix this? 


Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2004-12-05 00:15:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Handle.
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2004-12-09 15:14:29 UTC
State Changed
From-To: feedback->closed

Committed, thanks!