Skip to content

Commit

Permalink
fix: require protobuf-compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
hoelger committed Oct 1, 2024
1 parent 2412235 commit cdbc116
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bundle/src/assembly/resources/fed/ns3/ns3_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ arg_federate_file=""
arg_integration_testing=false
arg_make_parallel=""

required_programs=( python3 gcc unzip tar )
required_programs_display=( python3 gcc unzip tar protobuf-compiler )
required_programs_test=( python3 gcc unzip tar protoc )
required_libraries=( "libprotobuf-dev >= 3.7.0" "libxml2-dev" "libsqlite3-dev" )

####### configurable parameters ##########
Expand Down Expand Up @@ -243,7 +244,7 @@ ask_dependencies()
log "${bold}${cyan} $lib ${restore}"
done
log "\n${bold}Programs:${restore}"
for prog in "${required_programs[@]}"; do
for prog in "${required_programs_display[@]}"; do
log "${bold}${cyan} $prog ${restore}"
done
printf "\n[y/n] "
Expand Down Expand Up @@ -482,7 +483,7 @@ print_info
ask_dependencies

log "Preparing installation..."
check_required_programs "${required_programs[*]}"
check_required_programs "${required_programs_test[*]}"
check_directory

download_ns3
Expand Down

0 comments on commit cdbc116

Please sign in to comment.