← Back to team overview

linuxdcpp-team team mailing list archive

[Question #699121]: I'm trying to install on a CentOS via SSH on a macOS terminal

 

New question #699121 on ADCH++:
https://answers.launchpad.net/adchpp/+question/699121

I've followed Toast's script as located in this thread: https://forum.dcbase.org/viewtopic.php?t=464

but it fails when I try to run scons in the created adchpp directory. I've tried creating a Script.xml file with the following:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<ScriptPlugin>
	<Engine language="lua" scriptPath="yourpathto/adchpp/plugins/Script/examples">
		<Script>access.lua</Script>
	</Engine>
</ScriptPlugin>

Here is the terminal code I've tried:
[root@myrkur ~]# yum install bzr python
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.usf.edu
 * epel: reflector.westga.edu
 * extras: mirror.atlanticmetro.net
 * updates: mirrors.gigenet.com
Package python-2.7.5-90.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package bzr.x86_64 0:2.5.1-14.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch              Version                 Repository       Size
================================================================================
Installing:
 bzr            x86_64            2.5.1-14.el7            base            6.1 M

Transaction Summary
================================================================================
Install  1 Package

Total download size: 6.1 M
Installed size: 28 M
Is this ok [y/d/N]: y
Downloading packages:
bzr-2.5.1-14.el7.x86_64.rpm                                | 6.1 MB   00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : bzr-2.5.1-14.el7.x86_64                                      1/1 
  Verifying  : bzr-2.5.1-14.el7.x86_64                                      1/1 

Installed:
  bzr.x86_64 0:2.5.1-14.el7                                                     

Complete!
[root@myrkur ~]# bzr branch lp:adchpp
bzr: warning: unsupported locale setting
  bzr could not set the application locale.
  Although this should be no problem for bzr itself, it might
  cause problems with some plugins. To investigate the issue,
  look at the output of the locale(1p) tool.
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
Branched 667 revisions.                                                        
[root@myrkur ~]# cd adchpp
[root@myrkur adchpp]# sudo yum install gcc SCons swig
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.usf.edu
 * epel: reflector.westga.edu
 * extras: mirror.atlanticmetro.net
 * updates: mirrors.gigenet.com
Package gcc-4.8.5-44.el7.x86_64 already installed and latest version
No package SCons available.
Package swig-2.0.10-5.el7.x86_64 already installed and latest version
Nothing to do
[root@myrkur adchpp]# scons
-bash: scons: command not found
[root@myrkur adchpp]# sudo yum scons
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
No such command: scons. Please use /bin/yum --help
[root@myrkur adchpp]# sudo yum install scons
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.usf.edu
 * epel: reflector.westga.edu
 * extras: mirror.atlanticmetro.net
 * updates: mirrors.gigenet.com
Resolving Dependencies
--> Running transaction check
---> Package python2-scons.noarch 0:3.1.2-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package               Arch           Version                Repository    Size
================================================================================
Installing:
 python2-scons         noarch         3.1.2-1.el7            epel         921 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 921 k
Installed size: 3.9 M
Is this ok [y/d/N]: y
Downloading packages:
python2-scons-3.1.2-1.el7.noarch.rpm                       | 921 kB   00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python2-scons-3.1.2-1.el7.noarch                             1/1 
  Verifying  : python2-scons-3.1.2-1.el7.noarch                             1/1 

Installed:
  python2-scons.noarch 0:3.1.2-1.el7                                            

Complete!
[root@myrkur adchpp]# scons

scons: *** No SConstruct file found.
File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 940, in _main

Is there any guide or anything that might help with installing a DC hub on my CentOS server?

-- 
You received this question notification because your team Dcplusplus-
team is an answer contact for ADCH++.