File: SOLARIS10

package info (click to toggle)
ntop 3:3.3-11
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 12,772 kB
  • ctags: 7,534
  • sloc: ansic: 71,427; sh: 16,772; awk: 1,504; perl: 792; makefile: 782; php: 123; python: 23; sql: 13; sed: 11
file content (31 lines) | stat: -rw-r--r-- 846 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh

#
# L.Deri - May 2007
#

echo "        Setting Solaris 10 specific flag values"
LDFLAGS="-L/opt/sfw/lib -L/usr/local/lib -R/opt/sfw/lib -R/usr/local/lib ${LDFLAGS}"
LIBS="-lnsl -lsocket ${LIBS}"
CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/opt/sfw/include"

. configureextra/functions

# Test for GNU libiconv (e.g. SunFreeware)
test_library iconv    iconv_open

echo "*************************************************"
echo ""
echo "IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT"
echo ""
echo "Do not use the static (libpcap.a) library but build"
echo "the shared library as follows:"
echo "- cd libpcap-0.X.Y"
echo "- ./configure"
echo "- su"
echo "- make install-shared"
echo "- cd /usr/local/lib"
echo "- ln -s libpcap.so.0.X.Y libpcap.so"
echo "- rm libpcap.a"
echo ""
echo "*************************************************"