Tags:
tag this topic
create new tag
view all tags
<!-- keep this as a security measure: * Set ALLOWTOPICCHANGE = Main.TWikiAdminGroup,Main.LCGAdminGroup * Set ALLOWTOPICRENAME = Main.TWikiAdminGroup,Main.LCGAdminGroup #uncomment this if you want the page only be viewable by the internal people #* Set ALLOWTOPICVIEW = Main.TWikiAdminGroup,Main.LCGAdminGroup --> KeyWords: SysAdmin, [[Solaris]], [[Iperf]] ---+ Compiling Iperf on Solaris 10 Compiling [[http://dast.nlanr.net/Projects/Iperf/ Iperf]] on Solaris 10 turned out to be more difficult than foreseen; there are a few bugs in the configure scripts that must be corrected. This instructions assume you want to use the ==gcc== compiler as packages by BlastWave.org:: <verbatim> # install the gcc/g++ compiler (will install dependent binutils) pkg-get -i gcc4core gcc4g++ binutils # make sure it's all in the PATH PATH=$PATH:/opt/csw/gcc4/bin:/opt/csw/i386-pc-solaris2.8/bin </verbatim> The exact same procedure applies if you want to use the ==gcc== compiler Sun provides in =/usr/sfw=; just substitute the appropriate paths. 0) Download and unpack the iperf sources to directory =/tmp/iperf-2.0.4=. 1) Run the =./configure= script, pointing it to the correct c++ compiler: <verbatim> /tmp/iperf-2.0.4# ./configure CXX=/opt/csw/gcc4/bin/g++ </verbatim> 2) Now patch the generated =Makefile='s, to [[http://www.mail-archive.com/iperf-users@lists.sourceforge.net/msg00044.html use "-lpthread -lrt" instead of "-pthread"]]: <verbatim> /tmp/iperf-2.0.4# find . -name Makefile | (while read file; do sed -e 's/-lpthread/-lpthread -lrt/g;' < $file > ${file}.NEW && mv ${file}.NEW $file; done) </verbatim> 3) Now ==make== it and test it: <verbatim> /tmp/iperf-2.0.4# make ... /tmp/iperf-2.0.4# ./src/iperf -h Usage: iperf [-s|-c host] [options] iperf [-h|--help] [-v|--version] ... </verbatim> ---++ Readers' comments %COMMENT{type="below"}%
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2008-10-28
-
RiccardoMurri
LCGTier2
Log In
(Topic)
LCGTier2 Web
Create New Topic
Index
Search
Changes
Notifications
Statistics
Preferences
Users
Entry point / Contact
RoadMap
ATLAS Pages
CMS Pages
CMS User Howto
CHIPP CB
Outreach
Technical
Cluster details
Services
Hardware and OS
Tools & Tips
Monitoring
Logs
Maintenances
Meetings
Tests
Issues
Blog
Home
Site map
CmsTier3 web
LCGTier2 web
PhaseC web
Main web
Sandbox web
TWiki web
LCGTier2 Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Warning: Can't find topic "".""
Account
Log In
E
dit
A
ttach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback