Code Monkey home page Code Monkey logo

e3's People

Contributors

andersharrisson-ess avatar anderssandstrom avatar douglasbeniz avatar gabrielfedel avatar jeonghanlee avatar rizzoa avatar simon-ess avatar thomasfayess avatar ttkorhonen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

e3's Issues

Arch Linux support

All but one of the Arch packages I need can be installed like this:

pacman -Syu  tcl glibmm libtirpc readline libxt libxmu libxpm pcre net-snmp re2c darcs python2 netcdf hdf5 libpng bzip2 libxml2 libxml2 libusb libusb-compat remake systemd linux-headers mercurial boost boost-libs libraw1394 opencv

the tclx package is also needed but it's the only one that's not in an official Arch repository. Line number 3 of e3/e3-require/require-ess/App/tools/expandDBD.tcl is package require TclxDo we really need it?

glibc beyond version 2.26 has removed some headers that asyn needs to compile. Arch is on version 2.28. The asyn build needs -I/usr/include/tirpc to find the new location for these header files (rpc.h and netconfig.h).

e3.bash should handle root privilege according to the e3 installation location

The e3 building system can detect whether it needs root privilege or not according to EPICS_BASE. However, e3.bash cannot detect it automatically. Most case, we don't have any issue. However, if one compiles a module with root privilege, clean_module cannot remove that directory without sudo. So, it is quite possible to check EPICS_BASE within e3.bash.

I will leave this issue here in order to clean up them later.

`bash caget_pvs.bash E3Test_PVs.list` fails

https://github.com/icshwi/e3/blame/master/README.md#L118 says I should run bash caget_pvs.bash E3Test_PVs.list, but that doesn't work:

$ bash caget_pvs.bash E3Test_PVs.list

Usage    : caget_pvs.bash [-l pvlist_file] [-w watch_interval_sec] [-f <filter_string>] [-c] [-7] 

               -l : pvlist file generated by dbl output or hand
               -w : watch interval sec
               -f : without arg, select all
               -c : disable existent EPICS CA ADDR environment
               -7 : use pvget instead of caget

 bash caget_pvs.bash -l pvlist_file
 bash caget_pvs.bash -l pvlist_file -f "RB" 
 bash caget_pvs.bash -l pvlist_file -w 5 


Command not found

pi@raspberrypi:~/git/e3 $ bash e3.bash base
[sudo] password for pi: 
Cleaning .... e3-base
>> e3-base
>> No target directroy is found, Cloning...

Cloning into 'e3-base'...
remote: Enumerating objects: 21, done.
remote: Counting objects: 100% (21/21), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 547 (delta 10), reused 12 (delta 5), pack-reused 526
Receiving objects: 100% (547/547), 100.10 KiB | 0 bytes/s, done.
Resolving deltas: 100% (309/309), done.

mkdir: cannot create directory ‘/home/grey’: Permission denied
make: /home/pi/git/e3/e3-base/epics-base/startup/EpicsHostArch.pl: Command not found
Can't open perl script "/home/pi/git/e3/e3-base/epics-base/src/tools/EpicsHostArch.pl": No such file or directory

Two issues here:
mkdir: cannot create directory ‘/home/grey’: Permission denied why is this directory trying to be created!?
and
Can't open perl script "/home/pi/git/e3/e3-base/epics-base/src/tools/EpicsHostArch.pl": No such file or directory

Interesting fail case in MK_DEFINES

Some Repo has its own conflict

git submodule update --remote --merge m-epics-axiscore/
Auto-merging Makefile.EEE
CONFLICT (add/add): Merge conflict in Makefile.EEE
Automatic merge failed; fix conflicts and then commit the result.
Unable to merge '3d9cbfdf6c2130f9b1e89df8480d619d0766c4f1' in submodule path 'm-epics-axiscore'
/home/jhlee/e3/tools/e3-axiscore/configure/BUILD_E3:74: recipe for target 'm-epics-axiscore' failed
make: *** [m-epics-axiscore] Error 2

root privileges?

Why do ./e3.bash base and ./e3.bash req ask for my sudo password?

nullify all pre-existent EPICS variables

EEE has the hardcorded EPICS and EEE variables in /etc/profile.d/ In this case, HOST_ARCH is selected as centos7, instead of linux. Then, require building will be failed.

It would be better to void all of them in addition with EPICS variables.

db_module_list should be checked with configure/MODULE

db_module_list is hard-coded in e3.bash. So, we can expect module mismatch with active modules in configure/MODULE.

Need additional logic to check both properly.

Maybe to move that into makefile itself, will resolve this situation permanently.

Build problem: illegal option for e3.bash

I cloned a fresh e3 version from the repo. I start to follow the instructions in the README.
I get the following error:

$make env
e3.bash: illegal option -- g
Usage : e3.bash [ -ctifeal ]
......

am I doing something wrong? I am pretty sure that this used to work...

e3.bash "die" command

Hi Han,
I noticed that in the e3.bash there are several lines with "... || die 1 " commands.
This looks to me to some leftover from some perl script.
Could you please check?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.