On 16.04.2016 15:43, Stephan Witt wrote:
Am 16.04.2016 um 15:22 schrieb Wolfgang Engelmann <[email protected]>:
On 16.04.2016 14:56, Richard Heck wrote:
On 04/16/2016 04:47 AM, Wolfgang Engelmann wrote:
Am 16.04.2016 um 10:42 schrieb Wolfgang Engelmann:
Am 16.04.2016 um 08:58 schrieb Guenter Milde:
On 2016-04-15, Scott Kostyshak wrote:
On Fri, Apr 15, 2016 at 12:02:16PM +0200, Wolfgang Engelmann wrote:
but still have no access:
we@wolfgang-Mr-Whisper-Ultra-SSD-II:/mnt/sdb/we/Desktop/lyx-2.2.0rc1$
./configure
bash: ./configure: Keine Berechtigung
...
I have no idea why you get that error though. You should have write
access to that folder, the configure file itself is owned by you (we),
and the exec bit is set. I am stumped.
I would suggest trying to run a very simple executable:
1. create a file on your desktop called "hello" with the following contents:
-----
#!/bin/bash
echo "hello world"
-----
then run
chmod +x ./hello
./hello
Does that work?
Regardless of the above, what is the exit code after you run ./configure
?
To find that out, run the following immediately after:
echo $?
Some Linux distributions/installations prevent running of files on certain
devices, e.g. anything from an USB-stick because of security reasons.
/mnt/sdb/ looks like a removable device, so maybe you try after copying to a
hard disk or find the setting to enable executing from removable devices?
Günter
I have appended a screenshot in my last mail showing the hierarchy of myPC. I
have an ssd harddisk (sda) AND a 2 TB harddisk (sdb) which serves as my home.
Not sure whether this is the problem.
Wolfgang
Forgot to say: sda and sdb are both in the PC, no external disk switched on.
Definitely try what Scott suggested. It may be that you cannot execute files from
/mnt/sdb/. I always disable execution from /tmp/ myself, and other systems do it for
other devices. You could also try posting here the output of "findmnt
/dev/sdb/".
Richard
Tried Scotts proposals:
A.
content of the hello file:
#!/bin/bash
echo "hello world"
~/Desktop$ ls -l ./hello
-rwxr-xr-x 1 we we 31 Apr 16 10:03 ./hello
~/Desktop$ ./hello
bash: ./hello: Keine Berechtigung
B.
tried configure:
~/Desktop/lyx-2.2.0rc1$ ./configure
bash: ./configure: Keine Berechtigung
$ ls -l ./configure
-rwxr-xr-x 1 we we 408602 Apr 12 03:31 ./configure
C. tried Richards
we@wolfgang-Mr-Whisper-Ultra-SSD-II:/$ findmnt /dev/sdb/
we@wolfgang-Mr-Whisper-Ultra-SSD-II:/$
(no output)
tried:
$ findmnt /dev/
TARGET SOURCE FSTYPE OPTIONS
/dev udev devtmpfs rw,relatime,size=10240k,nr_inodes=911159,mode=755
tired:
$ findmnt /
TARGET SOURCE FSTYPE OPTIONS
/ /dev/sda2 ext4 rw,relatime,errors=remount-ro,data=ordered
Does this give you some cues?
Thanks for your time and help,
Wolfgang
Another useful command to see if the mount flags are the culprit: mount.
To get the configure command processed try: sh configure instead of ./configure
Stephan
That seems to work, except at the end (see the output below under
************):
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
would the log file help? It says at its end:
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "LyX"
#define PACKAGE_TARNAME "lyx"
#define PACKAGE_VERSION "2.2.0rc1"
#define PACKAGE_STRING "LyX 2.2.0rc1"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_URL ""
#define USE_POSIX_PACKAGING 1
#define PACKAGE "lyx"
configure: exit 1
Wolfgang
*******************************************
~/Desktop/lyx-2.2.0rc1$ sh configure
configuring LyX version 2.2.0rc1
checking for build type... prerelease
checking for version suffix...
checking whether Qt5 is requested... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking what packaging should be used... posix
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for a Python interpreter with version >= 2.7.0 or 3.3.0... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory...
${prefix}/lib/python2.7/dist-packages
checking for python extension module directory...
${exec_prefix}/lib/python2.7/dist-packages
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in
`/home/we/Desktop/lyx-2.2.0rc1':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
we@wolfgang-Mr-Whisper-Ultra-SSD-II:~/Desktop/lyx-2.2.0rc1$