Bug 70420 - Impossible to build apps
Summary: Impossible to build apps
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: openh323
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact:
URL: http://www.openh323.org/code.html
Whiteboard:
Depends On:
Blocks: 67218
TreeView+ depends on / blocked
 
Reported: 2002-08-01 09:59 UTC by Alec Voropay
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-08-02 05:41:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Alec Voropay 2002-08-01 09:59:18 UTC
Description of Problem:
It is impossible to build any apps with
openh323-devel


Version-Release number of selected component (if applicable):
openh323-1.9.3-1
openh323-devel-1.9.3-1


How Reproducible:
Try to compile any apps


Steps to Reproduce:
1. download any src from URL
2. export OPENH323DIR=/usr/share/misc
3. export PWLIBDIR=/usr/share/pwlib
see bug #69926
3. make opt


Actual Results:
[root@on opengk]# make opt
g++ -Wall -DP_LINUX -mcpu=i586 -D_REENTRANT -DP_HAS_SEMAPHORES -DP_SSL -
I/usr/include/include -I/usr/include/crypto -DP_EXPAT -DP_PTHREADS -
DPHAS_TEMPLATES -DPBYTE_ORDER=PLITTLE_ENDIAN -
I/usr/share/pwlib/include/ptlib/unix -I/usr/share/pwlib/include -DPTRACING -
I/usr/share/misc/include/openh323 -DHAS_IXJ -DHAS_OSS -O3 -DNDEBUG  -c 
main.cxx -o obj_linux_x86_r/main.o
In file included from main.cxx:69:
main.h:31:18: h323.h: No such file or directory
main.h:32:22: gkserver.h: No such file or directory
main.cxx:72:22: gsmcodec.h: No such file or directory
make: *** [obj_linux_x86_r/main.o] Error 1


Expected Results:
should compile

Additional Information:
see my last updates to bug #69926

1) It is better to move /usr/share/misc/openh323u.mak
to /usr/share/openh323 . Export
OPENH323DIR=/usr/share/openh323

2) Make full hierarcy in /usr/share/open323 :

cd /usr/share/openh323
ln -s /usr/include/openh323 include
ln -s /usr/lib lib

Comment 1 Alec Voropay 2002-08-01 10:04:53 UTC
sorry

cd /usr/share/openh323
ln -s /usr/include include



Comment 2 Alexander Larsson 2002-08-07 11:31:09 UTC
The openh323 build system is enourmously ugly and not made to ever be installed
like a typical "make install" does. Detailed discussions between distro
packagers (debian, mandrake, rh at least) on how to sanely package it ended up
with the current setup, and I will not change it now.

If you want to make the openh323 apps work out of the box you'll have to bring
up sane packaging with the openh323 group.

Sorry if you feel this is rude, but openh323 is not a prioritized package.



Note You need to log in before you can comment on or make changes to this bug.