mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] some problems with start ptxdist
@ 2019-07-24  5:23 Petr Lajtkep
  2019-07-25  6:07 ` Uwe Kleine-König
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Lajtkep @ 2019-07-24  5:23 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 623 bytes --]

Dear sirs,

In start program ptxdist is two problems. Version ptxdist-2019.07.0


petr@debian:~$ ptxdist
/usr/local/lib/ptxdist-2019.07.0/bin/ptxdist: line 2261:
/home/petr/.ptxdist/ptxdistrc-2010.01: No such file or directory
/usr/local/lib/ptxdist-2019.07.0/scripts/libptxdist.sh: line 105:
/home/petr/.ptxdist/ptxdistrc-2010.01: No such file or directory
cp: cannot stat '/home/petr/.ptxdist/ptxdistrc-2010.01': No such file or
directory
PTXdist: fatal error ... cannot start, sorry!
petr@debian:~$

see in attachmet

Debian is in virtual box ver. 6.
The same result is with Ubuntu 16.04 and Ubuntu 18.04.

Petr Lajtkep

[-- Attachment #1.2: Type: text/html, Size: 936 bytes --]

[-- Attachment #2: describe.txt --]
[-- Type: text/plain, Size: 7899 bytes --]

petr@debian:~$ ptxdist
/usr/local/lib/ptxdist-2019.07.0/bin/ptxdist: line 2261: /home/petr/.ptxdist/ptxdistrc-2010.01: No such file or directory
/usr/local/lib/ptxdist-2019.07.0/scripts/libptxdist.sh: line 105: /home/petr/.ptxdist/ptxdistrc-2010.01: No such file or directory
cp: cannot stat '/home/petr/.ptxdist/ptxdistrc-2010.01': No such file or directory
PTXdist: fatal error ... cannot start, sorry!
petr@debian:~$ 



---------------------------------------------------------------------------
Line 2261
#
# bash implementation of realpath / readlink -f
#   arg1 - filename
realpath()
{
	local fname oldfname

	fname="${1%/}" # strips trailing '/'
	while [ -L "${fname}" ]; do
		oldfname="${fname}"
		fname="$(readlink "${fname}")"   <<<<<<<<<<<<<<<<< Line 2161
		if [ "${fname}" = "." ] ; then
			fname="$(dirname "${oldfname}")"
		elif [ "${fname}" = "${fname#/}" ]; then
			fname="$(dirname "${oldfname}")/${fname}"
		fi
	done

	(cd "$(dirname "${fname}")"; echo $(pwd -P)/$(basename "${fname}"))
}




--------------------------------------------------------------------------
Line 105
#
# source a kconfig file
#
ptxd_source_kconfig() {
	local ret

	set -a
	source "${1}"  <<<<<<<<<<<<<<<<<<<< line 105
	ret=$?
	set +a

	return ${ret}
}
export -f ptxd_source_kconfig
------------------------------------------------------------------------------


petr@debian:~/lokalni/ptxdist-2019.07.0$ su
Password: 
root@debian:/home/petr/lokalni/ptxdist-2019.07.0# ./configure

root@debian:/home/petr/lokalni/ptxdist-2019.07.0# ./configure                    
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ptxdist patches... yes
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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for library containing regcomp... none required
checking for NCURSES... yes
checking for NCURSES_PANEL... yes
checking for NCURSES_MENU... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking menu.h usability... yes
checking menu.h presence... yes
checking for menu.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int8_t... yes
checking for off_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for bzero... yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for regcomp... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strspn... yes
checking for strtol... yes
checking for strtoull... yes
checking for uname... yes
checking whether #! works in shell scripts... yes
checking for bash... /usr/bin/bash
checking for gsed... no
checking for sed... /usr/bin/sed
checking sed version... 4.7
checking for GNU cat... /usr/bin/cat
checking for GNU chmod... /usr/bin/chmod
checking for GNU chown... /usr/bin/chown
checking for GNU cp... /usr/bin/cp
checking for GNU dirname... /usr/bin/dirname
checking for GNU install... /usr/bin/install
checking for GNU ln... /usr/bin/ln
checking for GNU md5sum... /usr/bin/md5sum
checking for GNU mkdir... /usr/bin/mkdir
checking for GNU mknod... /usr/bin/mknod
checking for GNU mktemp... /usr/bin/mktemp
checking for GNU mv... /usr/bin/mv
checking for GNU readlink... /usr/bin/readlink
checking for GNU rm... /usr/bin/rm
checking for GNU rmdir... /usr/bin/rmdir
checking for GNU sort... /usr/bin/sort
checking for GNU stat... /usr/bin/stat
checking for GNU touch... /usr/bin/touch
checking for GNU tty... /usr/bin/tty
checking for GNU tar... /usr/bin/tar
checking for GNU find... /usr/bin/find
checking for GNU xargs... /usr/bin/xargs
checking for egrep... (cached) /usr/bin/grep -E
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking awk version... 4.2.1, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.1.2)
checking for sysctl... no
checking for false... /usr/bin/false
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for flex... /usr/bin/flex
checking for bison... bison -y
checking for bison... /usr/bin/bison
checking whether yacc is bison++... no, this is good
checking yacc/bison version... 3.3.2
checking for makeinfo... /usr/bin/makeinfo
checking for bunzip2... /usr/bin/bunzip2
checking for gunzip... /usr/bin/gunzip
checking for gunzip... /usr/bin/gunzip
checking for wget... /usr/bin/wget
checking find version... 4.6.0
checking for gmake... no
checking for gnumake... no
checking for make... /usr/bin/make
./configure: line 6752: test: 4.2: integer expression expected
checking for file... /usr/bin/file
checking for msgfmt... /usr/bin/msgfmt
checking for sphinx-build... no
configure: sphinx not found, required to build the documentation
checking for rst2man... no
checking for python2... /usr/bin/python2
checking Python version... 2.7.16
checking whether /usr/bin/python2 finds distutils... yes
checking whether Python development files are present... yes
checking for patch... /usr/bin/patch
checking whether /usr/bin/patch will work... yes

configure: creating ./config.status
config.status: creating Makefile

ptxdist version 2019.07.0 configured.
Using '/usr/local' for installation prefix.

Report bugs to ptxdist@pengutronix.de

root@debian:/home/petr/lokalni/ptxdist-2019.07.0# 


[-- Attachment #3: Type: text/plain, Size: 92 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] some problems with start ptxdist
  2019-07-24  5:23 [ptxdist] some problems with start ptxdist Petr Lajtkep
@ 2019-07-25  6:07 ` Uwe Kleine-König
  0 siblings, 0 replies; 2+ messages in thread
From: Uwe Kleine-König @ 2019-07-25  6:07 UTC (permalink / raw)
  To: ptxdist

Hello Petr,

On Wed, Jul 24, 2019 at 07:23:34AM +0200, Petr Lajtkep wrote:

> petr@debian:~$ ptxdist
> /usr/local/lib/ptxdist-2019.07.0/bin/ptxdist: line 2261: /home/petr/.ptxdist/ptxdistrc-2010.01: No such file or directory
> /usr/local/lib/ptxdist-2019.07.0/scripts/libptxdist.sh: line 105: /home/petr/.ptxdist/ptxdistrc-2010.01: No such file or directory
> cp: cannot stat '/home/petr/.ptxdist/ptxdistrc-2010.01': No such file or directory
> PTXdist: fatal error ... cannot start, sorry!
> petr@debian:~$ 

This is a problem in v2019.07.0 that is fixed in master. See
commit a653df5d3f35.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-25  6:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-24  5:23 [ptxdist] some problems with start ptxdist Petr Lajtkep
2019-07-25  6:07 ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox