LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-20-2020, 05:32 PM   #2641
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 539

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327

dmg2img is not building for me on 14.2
install: cannot stat '/var/lib/sbopkg/SBo/14.2/misc/dmg2img/dmg2img.1': No such file or directory

Sorry if this is wrong forum
 
Old 04-20-2020, 08:56 PM   #2642
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,664

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
i notified the maintainer already
 
Old 04-20-2020, 09:02 PM   #2643
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
i notified the maintainer already
Maybe you or Ponce should get a sticky for "SBo scripts not building on 14.2" going. I know that the preferred method of reporting is via the maintainer and the mail list, but it could be helpful to have a resource here on LQ as well.

Just a thought.
 
Old 04-21-2020, 12:43 AM   #2644
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,104

Original Poster
Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by Skaendo View Post
Maybe you or Ponce should get a sticky for "SBo scripts not building on 14.2" going. I know that the preferred method of reporting is via the maintainer and the mail list, but it could be helpful to have a resource here on LQ as well.

Just a thought.
we want to make things as easy for users as it can get but unfortunately we cannot force the maintainers to follow another channel for reports, there are many of them that are not on LQ...
 
1 members found this post helpful.
Old 04-21-2020, 07:47 AM   #2645
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 539

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Erm.. I was able to build the latest version of dmg2img manually from their source without an issue
 
Old 04-21-2020, 08:32 AM   #2646
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,104

Original Poster
Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by tramtrist View Post
Erm.. I was able to build the latest version of dmg2img manually from their source without an issue
please report this to the maintainer.
 
Old 04-22-2020, 05:30 AM   #2647
wmhrae
LQ Newbie
 
Registered: Sep 2006
Posts: 10

Rep: Reputation: 3
pcre.patch works on all current! Delete nothing on your system

--- a/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h
+++ b/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h
@@ -12,9 +12,7 @@
#define __COLLADABU_PCRECOMPILEDPATTERN_H__

#include "COLLADABUPrerequisites.h"
-
-struct real_pcre;
-typedef struct real_pcre pcre;
+#include "pcre.h"


namespace COLLADABU
 
Old 04-22-2020, 05:34 AM   #2648
wmhrae
LQ Newbie
 
Registered: Sep 2006
Posts: 10

Rep: Reputation: 3
--- a/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h
+++ b/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h
@@ -12,9 +12,7 @@
#define __COLLADABU_PCRECOMPILEDPATTERN_H__

#include "COLLADABUPrerequisites.h"
-
-struct real_pcre;
-typedef struct real_pcre pcre;
+#include "pcre.h"


namespace COLLADABU
 
Old 04-22-2020, 05:37 AM   #2649
wmhrae
LQ Newbie
 
Registered: Sep 2006
Posts: 10

Rep: Reputation: 3
pcre.patch works on all current! Delete nothing on your system

Quote:
Originally Posted by RadicalDreamer View Post
obrea OpenCOLLADA is having issues with pcre

Code:
In file included from /tmp/SBo/OpenCOLLADA-1.6.62/COLLADABaseUtils/src/COLLADABUURI.cpp:18:0:
/usr/include/pcre.h:325:33: error: conflicting declaration ‘typedef struct real_pcre8_or_16 pcre’
 typedef struct real_pcre8_or_16 pcre;
                                 ^~~~
In file included from /tmp/SBo/OpenCOLLADA-1.6.62/COLLADABaseUtils/src/COLLADABUURI.cpp:14:0:
/tmp/SBo/OpenCOLLADA-1.6.62/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h:17:26: note: previous declaration as ‘typedef struct real_pcre pcre’
 typedef struct real_pcre pcre;
                          ^~~~
make[2]: *** [COLLADABaseUtils/CMakeFiles/OpenCOLLADABaseUtils_shared.dir/build.make:76: COLLADABaseUtils/CMakeFiles/OpenCOLLADABaseUtils_shared.dir/src/COLLADABUURI.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:560: COLLADABaseUtils/CMakeFiles/OpenCOLLADABaseUtils_shared.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
**Disclaimer only rebuilding dependencies of Blender at the moment

Edit:
OpenColorio will not build if OpenImageIO is installed. It tries to link to it & runs into libboost issues. I removed them both and OpenColorio was able to build.
pcre.patch
--- a/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h
+++ b/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h
@@ -12,9 +12,7 @@
#define __COLLADABU_PCRECOMPILEDPATTERN_H__

#include "COLLADABUPrerequisites.h"
-
-struct real_pcre;
-typedef struct real_pcre pcre;
+#include "pcre.h"


namespace COLLADABU

Last edited by wmhrae; 04-22-2020 at 05:38 AM.
 
Old 04-22-2020, 06:28 AM   #2650
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,104

Original Poster
Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
hi wmhrae, I'm not sure what's happening there but here opencollada builds fine without any patches on an up-2-date slackware64-current...
could it be because when the error was reported (two years ago!) opencollada was at version 1.6.62 on SBo and now is at 1.6.68? I am not sure, but it could be.

Last edited by ponce; 04-22-2020 at 06:32 AM.
 
Old 04-22-2020, 11:50 PM   #2651
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 354
Blog Entries: 1

Rep: Reputation: Disabled
python-cheetah syntax error

Cheetah-2.4.4.tar.gz might be for python2; it is apparently incompatible with python3. Cheetah3-3.2.4.tar.gz builds and installs error-free in python3.

Code:
Traceback (most recent call last):
  File "setup.py", line 10, in <module>
    import SetupTools
  File "/tmp/SBo/Cheetah-2.4.4/SetupTools.py", line 50
    except DistutilsPlatformError, x:
                                 ^
SyntaxError: invalid syntax
 
Old 04-25-2020, 03:04 PM   #2652
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,336

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
remove enum34 , is Added today.

THaNkS!!!
 
Old 04-25-2020, 04:02 PM   #2653
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,104

Original Poster
Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by USUARIONUEVO View Post
remove enum34 , is Added today.
right away!
 
1 members found this post helpful.
Old 04-26-2020, 05:29 PM   #2654
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 191

Rep: Reputation: 49
For uqm, it looks like there's a conflict between the system strings.h and the strings.h files used in the game when building.

Adding this to the SlackBuild before the build_config invocation fixes it (adapted from Debian):

Code:
for d in src/uqm/comm/*/ ; do
  cd $d
  mv strings.h ustrings.h
  cd $tmp/$PRGNAM-$VERSION
done
find ./src/uqm/comm -type f -name '*.c' | xargs sed -i s/strings.h/ustrings.h
find ./src/uqm/comm -type f -name '*.h' | xargs sed -i s/STRINGS/USTRINGS/g
 
Old 04-26-2020, 09:30 PM   #2655
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
libmusicbrainz5:

Code:
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'neon'
--   Found neon, version 0.31.1
-- Found Neon: /usr/lib64/libneon.so  
-- Checking for module 'libxml-2.0'
--   Found libxml-2.0, version 2.9.10
-- Found LibXml2: /usr/lib64/libxml2.so  
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/SBo/libmusicbrainz-release-5.1.0/build
Scanning dependencies of target make-c-interface
[  1%] Building CXX object src/CMakeFiles/make-c-interface.dir/make-c-interface.cc.o
[  3%] Building CXX object src/CMakeFiles/make-c-interface.dir/xmlParser.cc.o
[  4%] Linking CXX executable make-c-interface
[  4%] Built target make-c-interface
make[2]: *** No rule to make target 'src/*.inc', needed by 'src/mb5_c.cc'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:278: src/CMakeFiles/musicbrainz5.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
Here is a patch to fix (make-c-interface.patch):
Code:
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -36,7 +36,8 @@
 	OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/mb5_c.cc ${CMAKE_CURRENT_BINARY_DIR}/mb5_c.h ${CMAKE_CURRENT_BINARY_DIR}/../include/musicbrainz5/mb5_c.h
 	COMMAND make-c-interface ${CMAKE_CURRENT_SOURCE_DIR} cinterface.xml ${CMAKE_CURRENT_BINARY_DIR} mb5_c.cc mb5_c.h
 	COMMAND ${CMAKE_COMMAND} -E copy_if_different 	${CMAKE_CURRENT_BINARY_DIR}/mb5_c.h ${CMAKE_CURRENT_BINARY_DIR}/../include/musicbrainz5/mb5_c.h
-	DEPENDS make-c-interface cinterface.xml *.inc
+	DEPENDS make-c-interface cinterface.xml c-int-medium-defines.inc c-int-query-source.inc c-int-source-funcs.inc
+                c-int-medium-source.inc c-int-release-defines.inc c-int-query-defines.inc c-int-release-source.inc
 )
 
 ADD_CUSTOM_TARGET(src_gen DEPENDS mb5_c.h)

Last edited by Skaendo; 04-26-2020 at 09:42 PM.
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration