Hello and a happy new year.

I am new to this list and try to use the IRMP library with Pulseview.
The last nightly build of pulseview does not contain the libirmp.dylib file, 
(seems to be adressed here: 
https://sigrok.org/gitweb/?p=sigrok-util.git;a=commit;h=daa83fdabbdfd13c12510be7c08b02b5f5708bbe
 
<https://sigrok.org/gitweb/?p=sigrok-util.git;a=commit;h=daa83fdabbdfd13c12510be7c08b02b5f5708bbe>
 )

so I tried to build sigrokdecode manually.

I have to say that I have no knowledge to python, only reacting to error 
messages ...

./autogen.sh works OK
./configure says: Cannot find Python 3 development headers

configure.log says:

…
configure:15305: result: /opt/local/bin/pkg-config
configure:15330: checking pkg-config is at least version 0.22
configure:15333: result: yes
configure:15362: $PKG_CONFIG --exists --print-errors "python-3.10-embed"
Package python-3.10-embed was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.10-embed.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python-3.10-embed' found
configure:15365: $? = 1
configure:15374: $PKG_CONFIG --exists --print-errors "python-3.9-embed"
Package python-3.9-embed was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.9-embed.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python-3.9-embed' found
configure:15377: $? = 1
configure:15386: $PKG_CONFIG --exists --print-errors "python-3.8-embed"
Package python-3.8-embed was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.8-embed.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python-3.8-embed' found
configure:15389: $? = 1
configure:15398: $PKG_CONFIG --exists --print-errors "python3-embed"
Package python3-embed was not found in the pkg-config search path.
Perhaps you should add the directory containing `python3-embed.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python3-embed' found
configure:15401: $? = 1
configure:15410: $PKG_CONFIG --exists --print-errors "python-3.8 >= 3.8"
Package python-3.8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.8.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python-3.8' found
configure:15413: $? = 1
configure:15422: $PKG_CONFIG --exists --print-errors "python-3.7 >= 3.7"
Package python-3.7 was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.7.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python-3.7' found
configure:15425: $? = 1
configure:15434: $PKG_CONFIG --exists --print-errors "python-3.6 >= 3.6"
Package python-3.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python-3.6' found
configure:15437: $? = 1
configure:15446: $PKG_CONFIG --exists --print-errors "python-3.5 >= 3.5"
Package python-3.5 was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.5.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python-3.5' found
configure:15449: $? = 1
configure:15458: $PKG_CONFIG --exists --print-errors "python-3.4 >= 3.4"
Package python-3.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python-3.4' found
configure:15461: $? = 1
configure:15470: $PKG_CONFIG --exists --print-errors "python-3.3 >= 3.3"
Package python-3.3 was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.3.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python-3.3' found
configure:15473: $? = 1
configure:15482: $PKG_CONFIG --exists --print-errors "python-3.2 >= 3.2"
Package python-3.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python-3.2' found
configure:15485: $? = 1
configure:15494: $PKG_CONFIG --exists --print-errors "python3 >= 3.2"
Package python3 was not found in the pkg-config search path.
Perhaps you should add the directory containing `python3.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python3' found
configure:15497: $? = 1
configure:15532: error: Cannot find Python 3 development headers.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-apple-darwin18.7.0
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBIRMP_CFLAGS_set=
ac_cv_env_LIBIRMP_CFLAGS_value=
ac_cv_env_LIBIRMP_LIBS_set=
ac_cv_env_LIBIRMP_LIBS_value=
ac_cv_env_LIBSIGROKDECODE_CFLAGS_set=
ac_cv_env_LIBSIGROKDECODE_CFLAGS_value=
ac_cv_env_LIBSIGROKDECODE_LIBS_set=
ac_cv_env_LIBSIGROKDECODE_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/usr/local/Frameworks/Python.framework/Headers
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_PYTHON3_set=
ac_cv_env_PYTHON3_value=
…

I addet the PKG_CONFIG_PATH to environment, directory shows:
iMac:libsigrokdecode klaus$ ls /usr/local/Frameworks/Python.framework/Headers
Python-ast.h            context.h               graminit.h              
object.h                pyerrors.h              pytime.h
Python.h                cpython                 grammar.h               
objimpl.h               pyexpat.h               rangeobject.h
abstract.h              datetime.h              import.h                
odictobject.h           pyfpe.h                 setobject.h
asdl.h                  descrobject.h           internal                
opcode.h                pyframe.h               sliceobject.h
ast.h                   dictobject.h            interpreteridobject.h   
osdefs.h                pyhash.h                structmember.h
bitset.h                dynamic_annotations.h   intrcheck.h             
osmodule.h              pylifecycle.h           structseq.h
bltinmodule.h           enumobject.h            iterobject.h            
parsetok.h              pymacconfig.h           symtable.h
boolobject.h            errcode.h               listobject.h            
patchlevel.h            pymacro.h               sysmodule.h
bytearrayobject.h       eval.h                  longintrepr.h           
picklebufobject.h       pymath.h                token.h
bytesobject.h           exports.h               longobject.h            
py_curses.h             pymem.h                 traceback.h
cellobject.h            fileobject.h            marshal.h               
pyarena.h               pyport.h                tracemalloc.h
ceval.h                 fileutils.h             memoryobject.h          
pycapsule.h             pystate.h               tupleobject.h
classobject.h           floatobject.h           methodobject.h          
pyconfig.h              pystrcmp.h              typeslots.h
code.h                  frameobject.h           modsupport.h            
pyctype.h               pystrhex.h              ucnhash.h
codecs.h                funcobject.h            moduleobject.h          
pydebug.h               pystrtod.h              unicodeobject.h
compile.h               genericaliasobject.h    namespaceobject.h       
pydtrace.h              pythonrun.h             warnings.h
complexobject.h         genobject.h             node.h                  
pydtrace_probes.h       pythread.h              weakrefobject.h


I updated python before
iMac:libsigrokdecode klaus$ brew upgrade python
iMac:libsigrokdecode klaus$ brew info python
python@3.9: stable 3.9.9
Interpreted, interactive, object-oriented programming language
https://www.python.org/
/usr/local/Cellar/python@3.9/3.9.9 (7,839 files, 116.8MB) *
  Built from source on 2022-01-04 at 12:19:07
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/pyt...@3.9.rb
License: Python-2.0
==> Dependencies
Build: pkg-config ✔
Required: gdbm ✔, mpdecimal ✔, openssl@1.1 ✔, readline ✔, sqlite ✔, xz ✔
==> Caveats
Python has been installed as
  /usr/local/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/python@3.9/libexec/bin

You can install Python packages with
  pip3 install <package>
They will install into the site-package directory
  /usr/local/lib/python3.9/site-packages

tkinter is no longer included with this formula, but it is available separately:
  brew install python-tk@3.9

See: https://docs.brew.sh/Homebrew-and-Python
==> Analytics
install: 444,091 (30 days), 2,157,545 (90 days), 8,280,921 (365 days)
install-on-request: 231,817 (30 days), 976,039 (90 days), 3,115,875 (365 days)
build-error: 295 (30 days)


No Idea how to install the missing Headers, tried to find some solution with 
google but no success. 

Any hints what I am missing? Could not find python-3.9-embed packages.

Thanks in advance for your help
Klaus




_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to