trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: June 2012

Re: [trinity-devel] krecord - not 'krec' -- which source does it come from? (messaging required)

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 30 Jun 2012 00:11:00 -0500
On 06/29/2012 11:42 PM, David C. Rankin wrote:
>> Are we going to massage with TQt3 and add to the source tree?
>> > 
>> > Darrell
>> > 
> I think we will have to. I'm still testing and I'll report what I run into
> trying to build the quick helper apps that I usually have.

"message" may be an appropriate word for it. Initial reports are yes for
everything :)  (with GNUMakefile mods pointing to /opt/trinity & /opt/tqt3)

valkyrie:~/Documents/bld/kr/krecord-1.16> make verbose=1
WARNING: KDEDIR isn't set, assuming /opt/trinity
<snip>
checking for soundcard.h ...
run: echo '#include <soundcard.h>' | cc -g -O2 -Wall -Wmissing-prototypes
-Wstrict-prototypes -Wpointer-arith -Wunused -I/usr/X11R6/include
-I/opt/tqt3/include -I/opt/trinity/include -I/usr/include/sys
-DKRECORD_VERSION='1.16' -fno-strict-aliasing
-DHAVE_SYS_SOUNDCARD_H  -E -
... result is yes

checking for sys/soundcard.h ...
run: echo '#include <sys/soundcard.h>' | cc -g -O2 -Wall -Wmissing-prototypes
-Wstrict-prototypes -Wpointer-arith -Wunused -I/usr/X11R6/include
-I/opt/tqt3/include -I/opt/trinity/include -I/usr/include/sys
-DKRECORD_VERSION='1.16' -fno-strict-aliasing           -DHAVE_SYS_SOUNDCARD_H  -E -
... result is yes

checking for sun/audioio.h ...
run: echo '#include <sun/audioio.h>' | cc -g -O2 -Wall -Wmissing-prototypes
-Wstrict-prototypes -Wpointer-arith -Wunused -I/usr/X11R6/include
-I/opt/tqt3/include -I/opt/trinity/include -I/usr/include/sys
-DKRECORD_VERSION='1.16' -fno-strict-aliasing             -DHAVE_SYS_SOUNDCARD_H
 -E -
<stdin>:1:25: fatal error: sun/audioio.h: No such file or directory
compilation terminated.
... result is no

checking for qt_wm_state in qt-mt ...
run: cc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
-Wunused -I/usr/X11R6/include -I/opt/tqt3/include -I/opt/trinity/include
-I/usr/include/sys -DKRECORD_VERSION='1.16' -fno-strict-aliasing
-DHAVE_SYS_SOUNDCARD_H  -L/usr/X11R6/lib -L/opt/tqt3/lib -L/opt/trinity/lib -o
__actest __actest.c -lqt-mt
/usr/bin/ld: cannot find -lqt-mt
collect2: error: ld returned 1 exit status
... result is no

<snip>

/usr/include/sys/fcntl.h:1:19: error: #include nested too deeply
krecord.cpp:9:20: fatal error: qlabel.h: No such file or directory
compilation terminated.
make: *** [krecord.o] Error 1


  So first attempt at simple app says, there will be messaging required. I don't
know if Tim has a 'recipe' that can be applied to sources to do the 'renaming'
or if it is an app-by-app file-by-file process, but if there were some global
'sed' scripts that were applied to the GIT tree, it would be worth a shot to see
if we couldn't run the wanted apps through the same sausage grinder to see if we
can get them close to building. Anybody save the 'bread crumbs' that tell howto
build a tqt-renaming sausage grinder??

  This seems like a pretty good test app. It's small and simple, but definitely
relies on the renamed files to build.

-- 
David C. Rankin, J.D.,P.E.