For the quickest reply, please use our new Customer Helpdesk and Feedback platform
 
   
 
header files symbolic links missing for erl_interface
Posted: 23 July 2007 06:24 AM   [ Ignore ]
Newbie
Rank
Total Posts:  23
Joined  2007-05-06

the symbolic links seem not be available for all packages, in fact, they are just for a few packages defined:


erlang/include/cean:
ibrowse.hrl

erlang/include/kernel:
file.hrl     inet.hrl

erlang/include/runtime_tools:
observer_backend.hrl

erlang/include/stdlib:
erl_bits.hrl         erl_compile.hrl       ms_transform.hrl     qlc.hrl           zip.hrl

erlang/include/yaws:
erlsom.hrl     soap.hrl     yaws.hrl     yaws_api.hrl   yaws_dav.hrl   yaws_debug.hrl


regards
Roberto

Profile
 
 
Posted: 23 July 2007 07:58 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  600
Joined  2006-11-12

Hello Roberto,

We should probaby do something, but symbolic links are not a solution that is available on all Operating Systems (for example Windows).

Profile
 
 
Posted: 23 July 2007 02:59 PM   [ Ignore ]   [ # 2 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  118
Joined  2006-11-13

hello

CEAN makes symlinks on unix systems against the include directory, to avoid lib versionning into include path.
on windows, symlinks are replaced by a recursive copy of the whole directory.
so the solutions works on all cean supported platform.
first checks was OK. i’ll check again archives to find what happen to you.
which system are you using ?

Profile
 
 
Posted: 23 July 2007 03:56 PM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  23
Joined  2007-05-06

the list above I created on a mac os x OTP cean download (with some packages e.g. yaws added)

Roberto

Profile
 
 
Posted: 23 July 2007 04:14 PM   [ Ignore ]   [ # 4 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  118
Joined  2006-11-13

can you list libs you installed that have an include directory and do not have a symlinks please ?

Profile
 
 
Posted: 23 July 2007 04:55 PM   [ Ignore ]   [ # 5 ]
Newbie
Rank
Total Posts:  23
Joined  2007-05-06

I just installed erl_interface and that is an example where you really need the headerfiles if you want to use that module. Other headerfiles probably don’t get used often under “normal” circumstances.


To better illustrate the situation on my OS X system, below a bit of copy/paste form my shell:

this are the current installed symlink:
========================Ω

rsmac:~/cean/erlang rsaccon$ ls -la include/*
lrwxr-xr-x   1 rsaccon rsaccon 23 Jul 4 23:44 include/cean -> ../lib/cean-1.3/include
lrwxr-xr-x   1 rsaccon rsaccon 28 Jul 4 23:44 include/kernel -> ../lib/kernel-2.11.5/include
lrwxr-xr-x   1 rsaccon rsaccon 34 Jul 4 23:44 include/runtime_tools -> ../lib/runtime_tools-1.6.6/include
lrwxr-xr-x   1 rsaccon rsaccon 28 Jul 4 23:44 include/stdlib -> ../lib/stdlib-1.14.5/include
lrwxr-xr-x   1 rsaccon rsaccon 24 Jul 5 01:12 include/yaws -> ../lib/yaws-1.68/include

this is snapshot on my system of packages with include directories:
===========================================

rsmac:~/cean/erlang rsaccon$ ls -la lib/*/include
l

=> now I get a huge lit of include files, which I can-t even post here, because it exceeds to message-post-size-limit

Profile
 
 
Posted: 23 July 2007 05:15 PM   [ Ignore ]   [ # 6 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  118
Joined  2006-11-13

i tested on my mac and i have the erl_interface include dir like this
ls cean/erlang/include/erl_interface/
ei.h         ei_connect.h   eicode.h       erl_interface.h

cean installer has been upgraded since 1.3 release date. can you test using a freshly downloaded archive ?

Profile
 
 
Posted: 23 July 2007 05:39 PM   [ Ignore ]   [ # 7 ]
Newbie
Rank
Total Posts:  23
Joined  2007-05-06

My latest observation:

I just downloaded again the full mac OSX OTP archive (not the installer script) and there, erl_interace include dir was not sym-linked. Then I uninstalled erl_interface and installed it agian, and there I finally had the sym links !!

Roberto

Profile
 
 
Posted: 23 July 2007 06:01 PM   [ Ignore ]   [ # 8 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  118
Joined  2006-11-13

ok the problem is that the complete otp archive does not include symlinks
i will correct that.
thanks !

Profile
 
 
Posted: 01 August 2007 10:02 PM   [ Ignore ]   [ # 9 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  118
Joined  2006-11-13

issue solved.
new archives to be uploaded soon

Profile