TondenOckay / NWN-Dark-Sun-Old

Recreating Dark Sun using NWN
2 stars 1 forks source link

Can't compile module #4

Open DumpJunk opened 4 years ago

DumpJunk commented 4 years ago

I have my drive shared with docker, but getting this error.

/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:29: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:30: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
[DEBUG] Current environment:
  FLAT_LAYOUT: false
  START_TIME: 2020-03-26 01:31:36 +0000
  ARGV: ["compile", "ais_area_onenter.nss", "ais_area_onexit.nss", "ais_area_userdef.nss", "ais_ss_incl.nss", "dksn_area_oent.nss", "dksn_area_oext.nss", "dksn_core_i.nss", "dksn_h2_addons_i.nss", "dksn_h2_oatc.nss", "dksn_mod_oce.nss", "dmfi_activate.nss", "dmfi_arrays_inc.nss", "dmfi_cond_dmw.nss", "dmfi_db_biow_inc.nss", "dmfi_db_h2.nss", "dmfi_db_inc.nss", "dmfi_dmw_inc.nss", "dmfi_execute.nss", "dmfi_getln_cbtpl.nss", "dmfi_getln_inc.nss", "dmfi_init_inc.nss", "dmfi_onclienter.nss", "dmfi_onmodhb.nss", "dmfi_onplychat.nss", "dmfi_onrest.nss", "dmfi_plchlishk_i.nss", "dmfi_plychat_exe.nss", "dmfi_plychat_fnc.nss", "dmfi_plychat_inc.nss", "dmfi_string_inc.nss", "dmfi_unact_nam02.nss", "dmfi_unact_nam03.nss", "dmfi_unact_nam04.nss", "dmfi_unact_nam06.nss", "dmfi_unact_nam07.nss", "dmfi_unact_nam08.nss", "dmfi_uncnd_nam01.nss", "dmfi_uncnd_nam05.nss", "dmfi_univ_1.nss", "dmfi_univ_10.nss", "dmfi_univ_2.nss", "dmfi_univ_3.nss", "dmfi_univ_4.nss", "dmfi_univ_5.nss", "dmfi_univ_6.nss", "dmfi_univ_7.nss", "dmfi_univ_8.nss", "dmfi_univ_9.nss", "dmfi_univ_cond.nss", "dmfi_univ_dmw.nss", "dmfi_univ_listen.nss", "dmfi_voice1.nss", "dmfi_voice_exe.nss", "dmfi_x_afflict.nss", "dmfi_x_emote.nss", "dmfi_x_fx.nss", "h2_acquireitem_e.nss", "h2_actitem_e.nss", "h2_areaheartbt_e.nss", "h2_areaonenter_e.nss", "h2_areaonexit_e.nss", "h2_areauserdef_e.nss", "h2_biowaredb_c.nss", "h2_bleedsysoce.nss", "h2_bleedsysopd.nss", "h2_bleedsysoprs.nss", "h2_bleedsysopy.nss", "h2_bleedsystem_c.nss", "h2_bleedsystem_i.nss", "h2_bleedsystem_t.nss", "h2_bleedtimer.nss", "h2_canteen.nss", "h2_clericusdef_e.nss", "h2_cliententer_e.nss", "h2_clientleave_e.nss", "h2_constants_i.nss", "h2_core_c.nss", "h2_core_i.nss", "h2_core_t.nss", "h2_cutsceneabo_e.nss", "h2_debug_i.nss", "h2_deity_c.nss", "h2_deity_i.nss", "h2_deity_t.nss", "h2_deityopd.nss", "h2_destryempty_e.nss", "h2_equipitem_e.nss", "h2_exportchars.nss", "h2_fatigue_c.nss", "h2_fatigue_i.nss", "h2_fatigue_t.nss", "h2_fatigueoce.nss", "h2_fatigueprestf.nss", "h2_fatiguetimer.nss", "h2_firewood.nss", "h2_fooditem.nss", "h2_fuguedeath_i.nss", "h2_fuguedeathoce.nss", "h2_fuguedeathopd.nss", "h2_fuguedeathopy.nss", "h2_fugueexit_e.nss", "h2_healwidget.nss", "h2_heartbeat_e.nss", "h2_htdrunktimer.nss", "h2_htplayerrestf.nss", "h2_htplconused_e.nss", "h2_httimer.nss", "h2_httrigenter_e.nss", "h2_httrigexit_e.nss", "h2_hungerthrst_c.nss", "h2_hungerthrst_i.nss", "h2_hungerthrst_t.nss", "h2_hungrthrstoce.nss", "h2_hungrthrstopd.nss", "h2_lantern.nss", "h2_lighttimer.nss", "h2_locals_i.nss", "h2_lootsystem_i.nss", "h2_lootsystemopd.nss", "h2_lootsystemopy.nss", "h2_makepcrest.nss", "h2_moduleload_e.nss", "h2_mysqldb_c.nss", "h2_oilflask.nss", "h2_pccorpse_c.nss", "h2_pccorpse_i.nss", "h2_pccorpse_t.nss", "h2_pccorpseitem.nss", "h2_pccorpseoce.nss", "h2_pccorpseocl.nss", "h2_pccorpseopd.nss", "h2_pcrest_c.nss", "h2_pcrest_i.nss", "h2_pcrestcancel.nss", "h2_pcrestfinish.nss", "h2_pcreststart.nss", "h2_pdatamenu10_a.nss", "h2_pdatamenu11_a.nss", "h2_pdatamenu12_a.nss", "h2_pdatamenu13_a.nss", "h2_pdatamenu14_a.nss", "h2_pdatamenu15_a.nss", "h2_pdatamenu16_a.nss", "h2_pdatamenu17_a.nss", "h2_pdatamenu18_a.nss", "h2_pdatamenu19_a.nss", "h2_pdatamenu1_a.nss", "h2_pdatamenu20_a.nss", "h2_pdatamenu2_a.nss", "h2_pdatamenu3_a.nss", "h2_pdatamenu4_a.nss", "h2_pdatamenu5_a.nss", "h2_pdatamenu6_a.nss", "h2_pdatamenu7_a.nss", "h2_pdatamenu8_a.nss", "h2_pdatamenu9_a.nss", "h2_pdatamenu_s.nss", "h2_pdataretire_a.nss", "h2_pdataroot_s.nss", "h2_persistence_c.nss", "h2_playerdata.nss", "h2_playerdeath_e.nss", "h2_playerdying_e.nss", "h2_playerlvlup_e.nss", "h2_playerrest_e.nss", "h2_playerspawn_e.nss", "h2_prestmenu10_a.nss", "h2_prestmenu1_a.nss", "h2_prestmenu2_a.nss", "h2_prestmenu3_a.nss", "h2_prestmenu4_a.nss", "h2_prestmenu5_a.nss", "h2_prestmenu6_a.nss", "h2_prestmenu7_a.nss", "h2_prestmenu8_a.nss", "h2_prestmenu9_a.nss", "h2_prestmenu_s.nss", "h2_prestroot_s.nss", "h2_resttrigent_e.nss", "h2_resttrigext_e.nss", "h2_retirepc_a.nss", "h2_retirepc_s.nss", "h2_savelocation.nss", "h2_spellhook_e.nss", "h2_timers_i.nss", "h2_torch.nss", "h2_torchlantrn_c.nss", "h2_torchlantrn_i.nss", "h2_torchlantrn_t.nss", "h2_torchlantrnsh.nss", "h2_unacquireit_e.nss", "h2_unequipitem_e.nss", "h2_unidondrop_c.nss", "h2_unidondrop_i.nss", "h2_unidunaquire.nss", "h2_userdefined_e.nss", "nwnx.nss", "nwnx_object.nss", "nwnx_sql.nss", "pdata_findwater.nss"]
  EXECUTION_DIR: /usr/local/src/nwn-devbase
  WORKING_DIR: /home/devbase/build/src/nss
  NWNPROJECT: /home/devbase/build/src/nss/.nwnproject
  PROJECT_ROOT: /home/devbase/build/src/nss
  PROJECT_USER_CONFIG:
  PROJECT_DEFAULT_CONFIG:
  GLOBAL_USER_CONFIG:
  GLOBAL_DEFAULT_CONFIG: /usr/local/src/nwn-devbase/config.rb.in
  HOME_DIR: /home/devbase/build/src/nss/server
  INSTALL_DIR: /nwn/data
  MODULE_DIR: /home/devbase/build/src/nss/server/modules
  MODULE_FILENAME: module
  MODULE_FILE_EXT: .mod
  MODULE_FILE: /home/devbase/build/src/nss/server/modules/module.mod
  CACHE_DIR: /home/devbase/build/src/nss/.nwnproject/cache
  TMP_CACHE_DIR: /home/devbase/build/src/nss/.nwnproject/cache/tmp
  GFF_CACHE_DIR: /home/devbase/build/src/nss/.nwnproject/cache/gff
  SRC_DIR: /home/devbase/build/src/nss/src
  NUMBER_OF_SOURCES: 0
  NSS_DIR: /home/devbase/build/src/nss/src/nss
  NSS_BATCHOUTDIR: /home/devbase/build/src/nss/.nwnproject/cache/gff
  NSS_COMPILER: nwnsc
  COMPILER_ARGS: ["-qo", "-n", "/nwn/data", "-y", "-b", "/home/devbase/build/src/nss/.nwnproject/cache/gff"]
  ERF_UTIL: nwn_erf
  GFF_UTIL: nwn-gff
  RESMAN_DIR: /home/devbase/build/src/nss/resman
  EXTRACT_RAKE: /usr/local/src/nwn-devbase/extract.rake
  PACK_RAKE: /usr/local/src/nwn-devbase/pack.rake
  SYMLINK_RAKE: /usr/local/src/nwn-devbase/symlink.rake
  SCRIPTS_DIR: /usr/local/src/nwn-devbase/scripts
  ENCODING: utf-8
[INFO] Compiling nss
Traceback (most recent call last):
        2: from /usr/local/bin/nwn-build:507:in `<main>'
        1: from /usr/local/bin/nwn-build:382:in `compile_nss'
/usr/local/bin/nwn-build:382:in `chdir': No such file or directory @ dir_chdir - /home/devbase/build/src/nss/src/nss (Errno::ENOENT)
Press any key to continue . . .

This looks suspect?

/home/devbase/build/src/nss/src/nss

src/nss/src/nss ? Shouldn't it just be src/nss?

urothis commented 4 years ago

The ruby build tools are outdated. https://github.com/squattingmonk/nasher.nim Is the most updated tool.