Missing wireless.h include file

Hi all,
I'm trying to compile Xsupplicant (both from AUR, and manually), but it fails with this error message:
checking for iwlib.h... no
configure: error: header file <iwlib.h> is required for Xsupplicant
Of course, i have kernel-headers, and iwlib.h is in /usr/include, but somehow configure script doesn't see it. I tried setting CPPFLAGS to "-I/usr/include", but it didn't help.
Any ideas are welcome...

mosor wrote:
iphitus wrote:pacman -S wireless_tools
Allready have that, and it's not working still.
as for x supplicant, what's wrong with wpa_supplicant?
I'm in a dorm, and we were told to use Xsupplicant (and given configuratino files) for our (non wireless) network. Now that you mention it, I'll give it a try.
Thanks.
ah, if you're given configuration files, that's easy enough, wpa_supplicant offers equivalent support, and seems to be the more widespread and preferred solution.
James

Similar Messages

  • C++ 5.3 missing include files

    I have Forte 6 update 2 C++ compiler , patch 108434-05 on Solaris sparc 5.8. When I try to compile code written for 4.1 compiler, with option -compat=4, I get errs saying that stddef.h and string.h is not found. Can anyone suggest a remedy.
    The same code, when compiled in standard mode (-compat = 5) produced similar errs. sys/feature_tests.h and sys/isa_defs.h not found.
    This is the compile script with - v option and the errors.
    (for -compat=4)
    ### command line files and options (expanded):
    ### -v -o dbtitle.o -g -compat=4 -c -mt -DSOLSPARC -I/opt/lotus/notescpp/include dbtitle.cpp -library=rwtools7
    ### CC: Note: LM_LICENSE_FILE = /homes/sjoseph/key.txt
    ### CC: Note: NLSPATH = /BA/opt/SUNWspro/bin/../WS6U2/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/BA/opt/SUNWspro/bin/../WS6U2/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
    /BA/opt/SUNWspro/bin/../WS6U2/bin/ccfe -y-o -ydbtitle.o -I/opt/lotus/notescpp/include -y-fbe -y/BA/opt/SUNWspro/bin/../WS6U2/bin/fbe -ptb dbtitle.o -y-xarch=generic -y-verbose -O0 -ptf /tmp/05721%1.%2 -ptx /BA/opt/SUNWspro/bin/../WS6U2/bin/CC -ptk "-v -g -compat=4 -c -mt -DSOLSPARC -library=rwtools7,iostream -I/opt/lotus/notescpp/include " -D_REENTRANT -D__SunOS_5_8 -D__SUNPRO_CC=0x530 -Dunix -Dsun -Dsparc -D__sparc -D__unix -D__sun -D__BUILTIN_VA_ARG_INCR -D__SVR4 -D__SUNPRO_CC_COMPAT=4 -compat=4 -g +d -y-g -I-xbuiltin -I/BA/opt/SUNWspro/WS6U2/include/CC4 -I/BA/opt/SUNWspro/WS6U2/include/CC/rw7 -I/BA/opt/SUNWspro/WS6U2/include/cc -D__SUN_PREFETCH -DSOLSPARC dbtitle.cpp -s /tmp/ccfe.05721.0.s
    "/opt/lotus/notescpp/include/lnglosym.h", line 102: Error: Could not open include file <stddef.h>.
    "/opt/lotus/notescpp/include/lnglosym.h", line 103: Error: Could not open include file <string.h>.
    "/opt/lotus/notescpp/include/lnglofun.h", line 38: Error: size_t is not defined.
    "/opt/lotus/notescpp/include/lncommon.hpp", line 42: Error: size_t is not defined.
    "/opt/lotus/notescpp/include/lncommon.hpp", line 144: Error: The function "memcpy" must have a prototype.
    "/opt/lotus/notescpp/include/lncommon.hpp", line 151: Error: The function "memcpy" must have a prototype.
    "/opt/lotus/notescpp/include/lndate.hpp", line 337: Error: The function "memcpy" must have a prototype.
    "/opt/lotus/notescpp/include/lndate.hpp", line 344: Error: The function "memcpy" must have a prototype.
    "/opt/lotus/notescpp/include/lnsessio.hpp", line 240: Error: size_t is not defined.
    9 Error(s) detected.
    rm /tmp/ccfe.05721.0.s
    This is the compile script with - v option and the errors.
    (for std mode)
    ### command line files and options (expanded):
    ### -v -o dbtitle.o -g -c -mt -DSOLSPARC -I/opt/lotus/notescpp/include dbtitle.cpp -library=rwtools7,iostream
    ### CC: Note: LM_LICENSE_FILE = /homes/sjoseph/key.txt
    ### CC: Note: NLSPATH = /BA/opt/SUNWspro/bin/../WS6U2/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/BA/opt/SUNWspro/bin/../WS6U2/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
    /BA/opt/SUNWspro/bin/../WS6U2/bin/ccfe -y-o -ydbtitle.o -I/opt/lotus/notescpp/include -y-fbe -y/BA/opt/SUNWspro/bin/../WS6U2/bin/fbe -ptb dbtitle.o -y-xarch=generic -y-verbose -O0 -ptf /tmp/05704%1.%2 -ptx /BA/opt/SUNWspro/bin/../WS6U2/bin/CC -ptk "-v -g -c -mt -DSOLSPARC -library=rwtools7,iostream -I/opt/lotus/notescpp/include " -D_REENTRANT -D__SunOS_5_8 -D__SUNPRO_CC=0x530 -Dunix -Dsun -Dsparc -D__sparc -D__unix -D__sun -D__BUILTIN_VA_ARG_INCR -D__SVR4 -D__SUNPRO_CC_COMPAT=5 -g +d -y-g -I-xbuiltin -I/BA/opt/SUNWspro/WS6U2/include/CCios -instlib=/BA/opt/SUNWspro/WS6U2/lib/libCstd.a -I/BA/opt/SUNWspro/WS6U2/include/CC/Cstd -I/BA/opt/SUNWspro/WS6U2/include/CC -I/BA/opt/SUNWspro/WS6U2/include/CC/rw7 -I/BA/opt/SUNWspro/WS6U2/include/cc -D__SUN_PREFETCH -DSOLSPARC dbtitle.cpp -s /tmp/ccfe.05704.0.s
    "/BA/opt/SUNWspro/WS6U2/include/CC/std/stddef.h", line 7: Error: Could not open include file <sys/feature_tests.h>.
    "/BA/opt/SUNWspro/WS6U2/include/CC/std/stddef.h", line 15: Error: Could not open include file <sys/isa_defs.h>.
    "/BA/opt/SUNWspro/WS6U2/include/CC/std/string.h", line 7: Error: Could not open include file <sys/feature_tests.h>.
    "/opt/lotus/notescpp/include/ods.h", line 61: Error: #define and #undef are not legal for predefined macros.
    "/opt/lotus/notescpp/include/ods.h", line 61: Warning (Anachronism): Attempt to redefine _BOOL without using #undef.
    4 Error(s) and 1 Warning(s) detected.
    rm /tmp/ccfe.05704.0.s

    Do you have the SUNWhea package on your system? This package contains the headers you seem to be missing. It's on the Solaris 8 CDROM 2 of 2. If you don't know how to add packages from the CDROM, look up "Adding and Removing Software After Installing Solaris 8" in the "Solaris 8 Advanced Installation Guide" on docs.sun.com.

  • Error: The following required field is missing from the launch file: jnlp

    PLEASE help me.
    I was at Starbuck's today trying to install new software for my new wireless internet card and when I finished I could no longer access any of my applications that require java... I have a macbook pro dual platform computer. When I try to access www.bayphoto.com to download my application it says: (see below) (which I think is strange because it's all about Starbuck's and it should be my java code- I think...). Like I said - I have no idea what's going on or how to fix this. Please help me or at least tell me whom to call- I feel so stupid- I just need help- ATT? Starbuck's? Sun?
    Error: The following required field is missing from the launch file: <jnlp>
    Under the "exceptions" tab it says:
    MissingFieldException[ The following required field is missing from the launch file: <jnlp>]
         at com.sun.javaws.jnl.XMLFormat.parse(XMLFormat.java:88)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:52)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:64)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:72)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Launcher.java:214)
         at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:127)
         at com.sun.javaws.Launcher.launch(Launcher.java:95)
         at com.sun.javaws.Main.launchApp(Main.java:305)
         at com.sun.javaws.Main.continueInSecureThread(Main.java:213)
         at com.sun.javaws.Main$1.run(Main.java:108)
         at java.lang.Thread.run(Thread.java:613)
    Under the "launch file tab" it says:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
    <title>AT&T Wi-Fi Service @ Starbucks</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="description" content="Starbucks Entertainment presented by AT&T Hotspot" />
    <meta name="keywords" content="AT&T, Starbucks, Wi-fi, Wifi, Hotspot, coffee, music, books, games, fresh sheet, third place, online" />
    <meta name="author" content="Starbucks Entertainment" />
    <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
    <script type="text/javascript" language="javascript" src="/dhtml/master.js"></script>
    <script type="text/javascript" language="javascript" src="/dhtml/x_core.js"></script>
    <script type="text/javascript" language="javascript" src="/dhtml/x_event.js"></script>
    <script type="text/javascript" language="javascript" src="/dhtml/x_xhr.js"></script>
    <script type="text/javascript" src="/dhtml/att/dhtml.js"></script>
    <style type="text/css">
    copied from starbucks master.css
    body {
         background:#200D06 url("/graphics/att/themes/sbux/hotspot_bkgd.jpg") repeat-x scroll;
         color:#555555;
         font-family:Arial,Helvetica,sans-serif;
         font-size:small;
         line-height:1.5em;
         margin:0pt;
         padding:0pt;
         text-align:center;
    #wrap {
         font-size:95%;
         margin:0pt auto;
         text-align:left;
         width:980px;
    #starbucksframe {
         margin:15px 0pt 0pt;
         padding:0pt;
    /*our addendae*/
    div#header {
         height:95px;
         width:980px;
         background-image:url("/graphics/att/themes/sbux/header_bg.jpg");
         background-repeat:no-repeat;
         margin:0px;
         background-top:0px;
         background-left:0px;
         background-color:transparent;
    div#btn_ctti {
         position:absolute;
         top:10px;
         margin-left:388px;
    div#sbux_lfrm {
         display:inline;
         font-size:10px;
         color:#FFFFFF;
         margin-left:245px;
         top:49px;
         position:absolute;
         line-height:10px;
         font-family:verdana,arial,helvetica,sans-serif;
    div#sbux_lfrm form {
         margin:0px;
    div#sbux_lfrm a, div#sbux_lfrm a:link, div#sbux_lfrm a:hover, div#sbux_lfrm a:active, div#sbux_lfrm a:hover {
         color:#FFFFFF;
    div#sbux_lfrm form label {
         display:none;
         visibility:hidden;
    div#sbux_lfrm form input, div#sbux_lfrm form select {
         font-family:verdana,arial,helvetica,sans-serif;
         vertical-align:middle;
    div#sbux_lfrm input.example {
         color:#656565;
    #sbux_lfrm_row1, #sbux_lfrm_row2 {
         margin:0px;
    #sbux_lfrm input#username, #sbux_lfrm input#password, #sbux_lfrm input#password_pw {
         width:136px;
         margin-right:6px;
         font-size:10px;
    #sbux_lfrm select#roamRealm {
         width:130px;
         font-size:10px;
         color:#656565;
         margin-right:6px;
    #sbux_lfrm_row2 {
         position:absolute;
         top:21px;
         left:-4px;
    div#aupAgree_row {
         margin-top:4px;
         position:relative;
         left:-4px;
    div#aup_box {
         float:left;
         position:relative;
         top:-3px;
    div#aup_text {
         float:left;
         line-height:10px;
    div#tm_badge {
         width:115px;
         height:94px;
         float:right;
         margin-right:0px;
         margin-top:0px;
    div#password_value {
         display:inline;
    div#hidden_pw_field {
         display:none;
         visibility:hidden;
    div#sbux_lfrm.css_form {
         margin-top:0px;
    </style>
    <style>
    /* IE specs */
    body {
         font-size: x-small; /* IE5 Win */
         voice-family: "\"}\"";
         voice-family: inherit;
         font-size: small;
    html>body { /* be nice to Opera */
         font-size: small;
    /* self-clearing floats
    /* trigger hasLayout and target ie5+6/win only */
    *:first-child+html #header,
    *:first-child+html #login_wrapper {
         height:95px;
    #ny_legal {
         color:#CAC3BF;
         font-size:11px;
         font-weight:bold;
         padding:0;
    #ny_legal a:link {
         color:#CAC3BF;
         font-size:11px;
         font-weight:bold;
         padding:0;
    </style>
    </html>
    TOO LONG TO INCLUDE ALL CODE

    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="file:///C:\eclipse\workspace\studentconverter\webroot" href="studentconverter.jar" >two things wrong here -
    first codebase is not legal URL, File.separator (backslash on windows) needs to be converted to forward slash in URL's.
    second, the href is not to the jnlp file, it is to the jar !
    href="studentconverter.jar" - should this be href="studentconverter.jnlp" ?
    /Dietz

  • Restore - filename for datafile is missing in the control file

    I am practicing RMAN recovery procedures and I encountered a problem that I do not know how to solve.
    1) I took a hot backup of my test database.
    2) Create tablespace TS_DATA_TEMP
    3) Deleted tablespace TS_DATA which had 2 datafiles
    4) Created tablespace TS_DATA with 1 datafile
    5) shutdown database
    6) logged into RMAN in nomount
    7) restore controlfile from autobackup;
    8) alter database mount;
    9) restore database;
    RMAN> restore database;
    Starting restore at 22-AUG-08
    using channel ORA_DISK_1
    the filename for datafile 5 is missing in the control file
    skipping datafile 1; already restored to file /u02/oradata/EDM91/system01.dbf
    skipping datafile 2; already restored to file /u02/oradata/EDM91/undotbs01.dbf
    skipping datafile 6; already restored to file /u02/oradata/EDM91/index
    skipping datafile 3; already restored to file /u02/oradata/EDM91/sysaux01.dbf
    skipping datafile 7; already restored to file /u03/oradata/EDM91/TS_INDEX01.dbf
    skipping datafile 9; already restored to file /u03/oradata/EDM91/TS_LOB01.dbf
    skipping datafile 4; already restored to file /u02/oradata/EDM91/users01.dbf
    restore not done; all files readonly, offline, or already restored
    Finished restore at 22-AUG-08
    10) tried to recover
    Starting recover at 22-AUG-08
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 08/22/2008 15:04:22
    RMAN-06094: datafile 5 must be restored
    SQL> select name from v$datafile where file#=5;
    NAME
    /u04/oradata/EDM91/TS_DATA.dbf
    12) alter database backup controlfile to trace
    DATAFILE
    '/u02/oradata/EDM91/system01.dbf',
    '/u02/oradata/EDM91/undotbs01.dbf',
    '/u02/oradata/EDM91/sysaux01.dbf',
    '/u02/oradata/EDM91/users01.dbf',
    '/u04/oradata/EDM91/TS_DATA.dbf',
    '/u02/oradata/EDM91/index',
    '/u03/oradata/EDM91/TS_INDEX01.dbf',
    '/u04/oradata/EDM91/TS_DATA02.dbf',
    '/u03/oradata/EDM91/TS_LOB01.dbf'
    CHARACTER SET UTF8
    So i'm not sure what the problem is. Datafile TS_DATA.dbf is located in the control file but i'm getting the error: the filename for datafile 5 is missing in the control file.
    Suggestions on what's wrong with the control file?

    I found my mistake; a newbie error.
    I did not know I needed to include in my restore command the 'until' option when doing incomplete recovery. I only included the 'until' option in the recover command:
    original command
    restore database;
    recover database until sequence =123;
    should be
    restore database until sequence = 123;
    recover database until sequence =123;
    I usually run the command using a RUN block with a SET UNTIL SEQUENCE but this case I used the single commands separately.
    RUN
    +{+
    SET UNTIL sequence 123;
    RESTORE DATABASE;
    RECOVER DATABASE;
    +}+

  • Reloading a jsp include file

    Lets say I have a container,
    <div id="mindmapcontainer">and within this container, I have a jsp include
    <%@ include file="mindmap.jsp"%>and within the parent page there is a flash map. I have manipulated the css in such a way that this container (and its include file) will not show unless the user clicks on a country (using visibility hidden/visible). I understand that the external file loads on the server side when the parent page loads,despite it being hidden.
    Now the problem is, I'm missing some fancy effects that is shown only when the external jsp first loads. Is there any way I can make it reload onClick?
    I'm using ammap and js-mindmap btw.

    nope using window.location.reload() will reload the entire page.and i dont want that because it will get me back to my flash map screen and not the mindmap screen.thanks for your answer anyway.is there is a way to make it reload a div only or a jsp include?

  • INCLUDE File Concept Questions

    Hello All!
    I am extremely new to ABAP development; most of my experience is in Windows Programming.
    While building a Local Class Hierarchy in an INCLUDE file, I ran into a few "quirks". Hopefully, answers to these questions will help me understand the inter-op between REPORT files and INCLUDE Files much better as well.
    **NOTE** I have searched through SAP Library, this forum (admittedly, I may have missed older threads) and Googled each topic for each of these issues and not found information that satisfactorily answered my questions. I'm hoping the experts here may shed some light on my questions.
    My questions are in regard to the linking between a REPORT and an INCLUDE file. When I created the INCLUDE file, I started a new instance of SE38 and went through the option dialogs to establish the file as an INCLUDE. Then, UML in hand, I started coding. Since I am new to ABAP, I run Syntax checks regularly (Finally getting used to those periods!!!). Not suprisingly, I couldn't run a Syntax check on the include. I decided to start another instance of SE38 and open the REPORT file this INCLUDE is being built for (initially). I added the INCLUDE statement and ran a Syntax Check, Success! Ever since that point however, the quirks have been appearing.
    For instance, I would like to define Text Elements local to the include file; however, when I bring up the Text Elements Screen (from the INCLUDE file), the Text Elements from the REPORT are loaded in. Is it possible to define Text Elements Local to an INCLUDE file? If not, are INCLUDE files really intended to be used by multiple REPORTs? It would seem not since it looks to be tightly coupled to the REPORT I have it included in; # this could lead to naming conflicts with Text Elements as well #.
    I think I may have thought of a reason for the other quirk, but would like to run it by you all to see if I am on the mark. When I have the INCLUDE file open and attempt to activate it, if a syntax error is in the active version of the report due to the include file (i.e. Tables declared more then once), it will warn me before activating. I believe this is due to the fact that SAP will try make sure existing applications will not be harmed by changes to an include file. If this is true, then INCLUDE files must be fairly closely coupled with each REPORT they are included in. Is this correct?
    Thank you for your time and consideration.
    I look forward to the day I know enough to begin helping each of you as well.
    Steven Coolbaugh
    Edited by: Steven Coolbaugh on Jan 20, 2009 6:21 PM - Clarifying a Thought - # Delimited.

    Hi
    U should considere the INCLUDE is just like a box can be inserted in a program (REPORT), the include can't exist without a report (the main program).
    The include can be used to arrange the program: several thounsends of abap code lines can be in a program, if you split them in several includes, it'll be easier to read and manage the program.
    It can group components of the same type (for example the data declaration, the routine definitions,....) into the same include, in this way it'll be easier to manage the program for the maintenaces in the future.
    An include can be used by different programs, so if u need to use certain definations for many program, u can insert them in a include once and then call the include in all program u need: in this way if you update that include you'll update all program using that include.
    So you'll need to insert the corrections in the include just once instead of to repeate it for every program.
    Anyway all text elements used in include belongs to main program, not to the include, so u need to define it again for every program.
    Max

  • LabView 2010 Applicatio​n Builder for EXE Always Included files are not Included

    In LabVIEW 2010 F2, When I am using the Application Builder to build an EXE file, I have listed 10 or so files to Be "Always Included". But when I Explore the directory where the EXE was built, those "Always Included" files are not there or in any subdirectory under the EXE file.
    This frequently makes my EXE file not work properly because important files are missing. I have to spend extra debugging time to find out the the cause of my problem is missing files that the Application Builder should have transferred "Always".
    Why did the Application Builder, when building an EXE target, not include the files that should be "Always Included"?
    Why does the Application Builder ignore these files specifications?

    Dennis Knutson wrote:
    The build does include files you select. Post an example project with a small VI and some separate files where this does not happen.
    No, it does not appear that all of the files that I listed in the "Always Include" list are copied during the Build process to the Build directory or any subdirectory under that.
    The Build Source Files.jpg file shows most of the list of the files that should be "Always Included". Notice the .VI and .ctl files that are listed
    The Build Directory.jpg file shows the file in the Build directory that were built.
    The Data Directory.jpg file shows the data directory under the Build directory and may include some of the files listed in the "Always Include", but not all of them.
    The other subdirectories under the Build directory were created by me and do not include any files that were copied during the Build process.
    So not ALL of the files that were included in the "Always Include" list were copied into the Build directory area as expected. ALL of the files that are listed as "Always Include" should be copied, if they exist. Those files existed when then were selected for the List and they existed at the time of the Build.
    I can not include an example project that demonstrates this. I am prevented from doing so by the terms of an NDA. You are going to have to take my word that this event is real and happens the same way every time. This information should be sufficient for someone to investigate why do not ALL of the files listed in the "Always Include" list are copied into the Build directory area regardless of the file type or contents.
    Attachments:
    Build Source Files.jpg ‏151 KB
    Build Directory.jpg ‏125 KB
    Data Directory.jpg ‏131 KB

  • Media Missing in Live Type File Error Message

    So I just upgraded to FCE 3.5 and have been playing around with LIve Type.
    Yesterday I succeeded in making some titles with textured backgrounds etc. and getting them into FC. Today, I can still make the titles in Live Type, but when I import them into FC I get this message, in front of a purplish background, on the icon in the FC browser and when I drag the thumbnail into the viewer.
    Media Missing in LIve Type File.
    I have gone into project properties in Live Type and checked the "render background" box. I have also moved my media sequences above the background divider in the time line.
    Nothing shows up in FCE, not even my text. But if I do a title with only text it shows up. If I include a texture and some effects, it does not show up. I just tried it with effects only and they show up. So it appears that it is a texture media problem. As soon as I open the text/effect title and add a texture, it comes up with this error in FCE.
    My files for live type are on an external hard drive. it mounts fine. I can see all my titles fine in Live Type. They render fine. But don't show up in FCE.
    I am working on a MacBook.
    Any help?

    When I Render it it shows up, but only for a few seconds then it goes black for a few more seconds. This happens when I have my in and out points set in LT and check, render only between in and out points, it also happens when this box is not checked. So I don't get the full time of my title effect.
    My problem is that I didn't have to render before, why do I have to go to the trouble to render now?
    I don't have to render on my iMac, it just works there. No rendering or exporting required. ?
    Dan

  • Applescript: missing required parameter "including hidden layers"

    I've used this script (below) for packaging files in InDesign CS3, but when I upgraded to CS4 I always get this message: "Missing required parameter 'including hidden layers' for event 'package'." Does anyone know how to include this and where it goes?
    Thanks.
    on run
    display dialog "Whoa Dude, I'm a Droplet so drop an InDesign file on me"
    end run
    on open draggedItems
    tell application "Finder"
    make new folder at alias "Macintosh HD:Users:Melanie:Documents:ScriptFiles:Packaged:" with properties {name:"_Folder"}
    end tell
    set folderPath to "Macintosh HD:Users:Melanie:Documents:ScriptFiles:Packaged:_Folder:"
    repeat with currentFile in draggedItems
    tell application "Adobe InDesign CS4"
    set openedfile to open (currentFile as alias)
    set theDoc to (document 1)
    tell document 1
    package to folderPath copying fonts yes copying linked graphics yes copying profiles no updating graphics yes ignore preflight errors yes creating report yes
    set fileName to (name of theDoc)
    set filepath to folderPath & fileName & ".pdf"
    export openedfile format "Adobe PDF" to filepath using "[Smallest File Size]"
    save openedfile
    close openedfile
    end tell
    tell application "Finder"
    set NewName to fileName & "_Folder"
    set name of folder folderPath to NewName
    end tell
    end tell
    end repeat
    end open
    ---------

    I don't use InDesign/CS4, but it seems clear that the 'package' command now has additional parameters that you're not including in the command.
    Since it's telling you that 'including hidden layers' is the parameter that's missing, just append it to the packagecommand, with either a 'yes' or a 'no' depending on what you want:
    package to folderPath copying fonts yes copying linked graphics yes copying profiles no updating graphics yes ignore preflight errors yes creating report yes including hidden layers no

  • Problems using a php include file with an Add-on Domain.

    Hello,
    I am having an issue getting a php include file to work with a new add-on domain I am working on getting up and running.
    This include file is one that supplies the rest of the php code to a contact form page.  It works as it should for my original domain, same file no difference.  I made sure that the files hosted on the remote server had all read, write, execute permissions turned on.
    I have tried putting the include file in several different locations as a test, such as:
    I don't remember the exact name of the include file at the moment, as I'm at work so I will designate it below as 'includefile.php'.
    file path for add-on domain - ../public_html/lorentzpainting/includes/includefile.php
    alternatives I tried moving the file to - ../public_html/lorentzpainting/includefile.php
    When none of those options worked, I tried just pointing the path towards other places on the server that have the include file such as:
    ../public_html/includes/includefile.php
    ../public_html/includefile.php
    What can I do here?  Should I just give up on using the include and put all the code back in the page?  Doesn't seem like it should be this complicated, it works perfectly fine for my other site.. and still does.
    Thanks ahead of time to those who may assist me.

    here is the contents of the include file:
    <?php
    if (isset($_SERVER['SCRIPT_NAME']) && strpos($_SERVER['SCRIPT_NAME'],
    '.inc.php')) exit;
    // remove escape characters from POST array
    if (PHP_VERSION < 6 && get_magic_quotes_gpc()) {
      function stripslashes_deep($value) {
        $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value);
        return $value;
      $_POST = array_map('stripslashes_deep', $_POST);
      // assume that there is nothing suspect
        $suspect = false;
        // create a pattern to locate suspect phrases
        $pattern = '/Content-Type:|Bcc:|Cc:/i';
          // function to check for suspect phrases
      function isSuspect($val, $pattern, &$suspect) {
        // if the variable is an array, loop through each element
        // and pass it recursively back to the same function
        if (is_array($val)) {
          foreach ($val as $item) {
            isSuspect($item, $pattern, $suspect);
        else {
          // if one of the suspect phrases is found, set Boolean to true
          if (preg_match($pattern, $val)) {
            $suspect = true;
    //check the $_POST array and any subarrays for suspect content
    isSuspect($_POST, $pattern, $suspect);
        if (!empty($_POST['url'])) {
            $suspect = true;
        if ($suspect) {
            $mailSent = false;
            unset($missing);
        } else {
        //process the $_POST variables
        foreach ($_POST as $key => $value) {
            // assign to temporary variable and strip whitespace if not an array
            $temp = is_array($value) ? $value : trim($value);
            // if empty and required, add to $missing array
            if (empty($temp) && in_array($key, $required)) {
                array_push($missing, $key);
            } elseif (in_array($key, $expected)) {
                // otherwise, assign to a variable of the same name as $key
                ${$key} = $temp;
        //validate the email address
        if (!empty($email)) {
            // regex to identify illegal characters in email address
    $checkEmail = '/^[^@]+@[^\s\r\n\'";,@%]+$/';
    //reject the email address if it doesn't match
    if (!preg_match($checkEmail, $email)) {
        $suspect = true;
        $mailSent = false;
        unset($missing);
    //go ahead only if all required fields OK
        if (!$suspect && empty($missing)) {
    //initialize the $message variable
            $message = '';
    // loop through the $expected array
            foreach($expected as $item) {
    // assign the value of the current item to $val
                if (isset(${$item}) && !empty(${$item})) {
                    $val = ${$item};
                } else {
    // if it has no value, assign 'Not selected'
                    $val = 'Not selected';
    // if an array, expand as comma-sparated string
                if (is_array($val)) {
                    $val = implode(',', $val);
    // add label and value to the message body
      $message .= ucfirst($item).": $val\r\n\r\n";
    //limit line length to 70 characters
        $message = wordwrap($message, 70);
    //create Reply-To header
        if (!empty($email)) {
            $headers .= "\r\nReply-To: $email";
    // send it
        $mailSent = mail($to, $subject, $message, $headers);
        if ($mailSent) {
    // $missing is no longer needed if the email is sent, so unset it
            unset($missing); echo('Thank you for contacting Common Wealth Web Solutions');
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    </body>
    </html>

  • State is a missing VI or C file

    Hi,
    i´m developing an app that as to send an sql query to a DB server, using Bluetooth to communicate between server and client.
    My client is being developed with LabVIEW PDA Module and my server was developed with LabVIEW 7.1.
    When i try to make the build for windows in my client app, no error
    occurs. But, when i try to make the build for pda, the following error
    occurs:
    state is a missing VI or C file. Details: There was an error building
    the executable. Please check the VI´s or C files that were added.
    I have already tried to build simple applications, each application with each of one of the subVIs that i´m using.
    But, still the error occurs. In attachment i leave my VI (Execute SQL query.vi) and all the subVIs.
    Can anyone give a help with this?
    Thanks,
    Pedro
    Attachments:
    Execute SQL query.zip ‏48 KB

    I can't look at your VIs, but the PDA module occasionally has "weird" bugs (for example, try to build a program that monitors a value change event for 2 controls of a different type (numeric and boolean) in the same case and see what happens. This also happens for numeric controls with different represetations). Maybe this is one of them.
    To report a bug, select the email option here and include a link to this thread.
    Try to take over the world!

  • Proc*C/C++ suport for include files without .h extensions

    We have written code C++ code which is Standard C++ ver 5.0 compilant. In this version of C++ compiler the files are without .h extensions. For example <iostream.h> is now to be reffered as <iostream>. We are facing problems in compiling this code with PCC compiler
    Sample Code:
    File test1.h
    #ifndef TEST1H
    #define TEST1H
    #include<iostream>
    #include<list>
    class test
    private:
    int i;
    public:
    int k;
    #endif
    File test1.pc
    #include <iostream>
    #include<test1.h>
    int main()
    int i;
    std::cout << "Enter a value :";
    std::cin >> i;
    std::cout << std::endl;
    return 0;
    When this code is compiled with Code=cpp CPP_SUFFIX=cpp PARSE=PARTIAL options we get the following errors
    Pro*C/C++: Release 8.1.5.0.0 - Production on Fri Feb 1 12:46:00 2002
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    System default option values taken from: /oracle8/app/oracle/product/8.1.5/precomp/admin/pcscfg.cfg
    Error at line 2, column 10 in file test1.pc
    #include <iostream>
    .........1
    PCC-S-02015, unable to open include file
    Error at line 3, column 9 in file test1.h
    #include<iostream>
    ........1
    PCC-S-02015, unable to open include file
    Error at line 4, column 9 in file test1.h
    #include<list>
    ........1
    PCC-S-02015, unable to open include file
    I guess so PCC compiler does not identify include files without .h extension.
    Lata

    Do you have the SUNWhea package on your system? This package contains the headers you seem to be missing. It's on the Solaris 8 CDROM 2 of 2. If you don't know how to add packages from the CDROM, look up "Adding and Removing Software After Installing Solaris 8" in the "Solaris 8 Advanced Installation Guide" on docs.sun.com.

  • CFBuilder open included file

    Is it possibe to open an included file  by right mouse click on it similar with ColdFusion studio? I can't find it and not sure if it's a setup or somthing I'm missing
    Thanks

    I think that whichever other way one might trigger this functionality, it should also be in the context-sensitive menu.
    Adam

  • ASP Include File issue

    I have been trying to use a form as an include file.
    I created the file as a separate asp page, and then tried to
    add it as an
    include, the page fails when I try in on my testing server.
    If I create the
    form within the page I get no problems!!
    Also when the page displays in the design view I get the
    </Head> tag showing
    within the include file of the page.
    Anyone any suggestions to fixing these issues.
    Thanks
    Lez

    The way to think of it is that the server reads original
    page, and if it has
    an include, it grabs that and throws it in the code where you
    told it to be.
    What you get is one compiled page that goes to the browser.
    So any CSS or
    other info at the top of your calling page will affect
    everything in the
    page. Look at your page in a browser, then check out "View
    Source" and
    you'll see that it looks like one page. The browser doesn't
    know, or care,
    whether it was assembled from several parts or is just one
    whole page from
    the get go.
    So yes, it can go...as long as that CSS call is in the top of
    the calling
    page! Which I don't think it is (but it should be).
    MD
    "Lez" <[email protected]> wrote in message
    news:[email protected]...
    > Do I not need to leave the CSS link in, or will it pick
    up from the main
    > page ?
    >
    > "Mad Dog" <[email protected]> wrote
    in message
    > news:[email protected]...
    >> You still have one stray line in the include that
    doesn't belong there:
    >>
    >> <link href="standard.css" rel="stylesheet"
    type="text/css" />
    >>
    >> As to the next question, you need to set the ACTION
    to go to a forms
    >> handler. That's what will process it and send an
    email with the info they
    >> filled in to someone. The easiest thing, is to check
    with whoever is
    >> hosting the site. They usually have a forms handler
    in place (such as
    >> formmail) along with an FAQ and instructions on how
    to set it up and use
    >> it.
    >>
    >> MD
    >>
    >>
    >> "Lez" <[email protected]> wrote in
    message
    >> news:[email protected]...
    >>> OK have changed and saved the page as ASP and
    now seems to work
    >>> fine....do you know How I can send a mail to an
    email address advising
    >>> when this has been completed...have had a real
    problem sorting that one
    >>> out?
    >>> Lez
    >>>
    >>>
    >>> "Lez" <[email protected]> wrote
    in message
    >>> news:[email protected]...
    >>>> The 'INCLUDE' form page has the asp
    extension, does the main page also
    >>>> require to be an ASP, as these pages will be
    done by someone else?
    >>>>
    >>>> Thanks
    >>>> Lez
    >>>>
    >>>> "Nancy - Adobe Comm. Expert"
    <[email protected]> wrote in message
    >>>> news:[email protected]...
    >>>>> An ASP page has to have an ASP
    extension. Your page has an html
    >>>>> extension.
    >>>>>
    >>>>>
    >>>>> --
    >>>>> Nancy Gill
    >>>>> Adobe Community Expert
    >>>>> Author: Dreamweaver 8 e-book for the DMX
    Zone
    >>>>> Co-Author: Dreamweaver MX: Instant
    Troubleshooter (August, 2003)
    >>>>> Technical Editor: Dreamweaver CS3: The
    Missing Manual,
    >>>>> DMX 2004: The Complete Reference, DMX
    2004: A Beginner's Guide
    >>>>> Mastering Macromedia Contribute
    >>>>> Technical Reviewer: Dynamic Dreamweaver
    MX/DMX: Advanced PHP Web
    >>>>> Development
    >>>>>
    >>>>> "Lez"
    <[email protected]> wrote in message
    >>>>>
    news:[email protected]...
    >>>>>> Sorry if I sounded off hand, I
    followed the help file that does not
    >>>>>> say remove any surrounding tags, I
    have now removed them and the page
    >>>>>> looks OK, however, the submit button
    does not submit the form. On
    >>>>>> hovering the button it displays the
    <% ==MM_editAction %> and fails
    >>>>>> to complete the insert as it should
    do.
    >>>>>>
    >>>>>> the testing URL is
    >>>>>>
    >>>>>>
    http://millmaxnetwork.com/Copy%20of%20SpecificInv_GNT_1.html
    >>>>>>
    >>>>>> Regards
    >>>>>> Lez
    >>>>>>
    >>>>>>
    >>>>>> "Mad Dog"
    <[email protected]> wrote in message
    >>>>>>
    news:[email protected]...
    >>>>>>> What I said could very likely be
    helpful. Without seeing the pages
    >>>>>>> online or the files it's
    impossible to know for sure, but since you
    >>>>>>> said you could "get the
    </Head> tag showing within the include file
    >>>>>>> of the page" in Design View, it
    sounds like you might have more in
    >>>>>>> the include page than you
    should. As I said, an include should not
    >>>>>>> have anything other than the
    "guts" of the page. Does your include
    >>>>>>> file have any <header>,
    <body> or other "top of the page" elements
    >>>>>>> included? If so, that could be
    the culprit. From your description, I
    >>>>>>> would expect it might only
    include the area from <form> to </form>.
    >>>>>>> If this isn't being helpful and
    you already have it stripped down, I
    >>>>>>> apologize and hope you'll post a
    URL where we can see it or include
    >>>>>>> the code so someone can look at
    it.
    >>>>>>>
    >>>>>>> MD
    >>>>>>>
    >>>>>>>
    >>>>>>>
    >>>>>>> "Lez"
    <[email protected]> wrote in message
    >>>>>>>
    news:[email protected]...
    >>>>>>>>
    >>>>>>>> If you can't add anything
    helpful ....why reply ?
    >>>>>>>>
    >>>>>>>>
    >>>>>>>> "Mad Dog"
    <[email protected]> wrote in message
    >>>>>>>>
    news:[email protected]...
    >>>>>>>>> For starters, the
    include file should have nothing but the actual
    >>>>>>>>> body of the code. No
    header, no <head> tag, no <body> tag. Just
    >>>>>>>>> the guts.
    >>>>>>>>>
    >>>>>>>>> MD
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>> "Lez"
    <[email protected]> wrote in message
    >>>>>>>>>
    news:[email protected]...
    >>>>>>>>>>I have been trying to
    use a form as an include file.
    >>>>>>>>>>
    >>>>>>>>>> I created the file
    as a separate asp page, and then tried to add
    >>>>>>>>>> it as an include,
    the page fails when I try in on my testing
    >>>>>>>>>> server. If I create
    the form within the page I get no problems!!
    >>>>>>>>>>
    >>>>>>>>>> Also when the page
    displays in the design view I get the </Head>
    >>>>>>>>>> tag showing within
    the include file of the page.
    >>>>>>>>>>
    >>>>>>>>>> Anyone any
    suggestions to fixing these issues.
    >>>>>>>>>>
    >>>>>>>>>> Thanks
    >>>>>>>>>> Lez
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>
    >>>>>>>
    >>>>>>>
    >>>>>>
    >>>>>
    >>>>>
    >>>>
    >>>
    >>
    >>
    >

  • PCC-S-02015, unable to open include file(gnu/stubs-32.h)

    Hi,
    I was trying to precompile one of the sample files from the "Pro*C/C++ Precompiler
    Programmer’s Guide" and I got this error message:
    Fehler in Zeile 7, Spalte 11, in Datei /usr/include/gnu/stubs.h
    # include <gnu/stubs-32.h>
    ..........1
    PCC-S-02015, Einfügedatei konnte nicht geöffnet werden.
    (Which means "unable to open include file")
    I couldn't find any an answer on the forum, so I figured it out for myself.
    I just wanted to post it so in case somebody else faces the same problem, they would have the solution here.
    The machine is a virtual Linux host running on a 64Bit architecture, so I was surprised why is it looking for stubs-32.h and not stubs-64.h.
    The answer is in the stubs.h file:
    #include <bits/wordsize.h>
    #if __WORDSIZE == 32
    # include <gnu/stubs-32.h>
    #elif __WORDSIZE == 64
    # include <gnu/stubs-64.h>
    #else
    # error "unexpected value for __WORDSIZE macro"
    #endifSo let's check the bits/wordsize.h file:
    #if defined __x86_64__
    # define __WORDSIZE     64
    # define __WORDSIZE_COMPAT32    1
    #else
    # define __WORDSIZE     32
    #endifSo I figured out you can define __x86_64__ in two places:
    The file: precomp/admin/pcscfg.cfg
    Most probably you just need to add define=__x86_64__ and that should do the trick.
    Unfortunately I couldn't try it because I didn't have write permission on that file.
    The other way is to pass it in the command line:
    proc sample1.pc MODE=ORACLE DEFINE=__x86_64__+
    This way the precompiler created the output .c file without errors.
    Cheers
    PS: Don't try to define the __x86_64__ in the .pc file, or you'll get a warning when you compile the .c file. Not a big deal, just desn't look good :-D
    Edited by: VincentFreeman on Feb 12, 2009 4:09 AM
    Edited by: VincentFreeman on Feb 12, 2009 4:16 AM

    Ideally speaking your pcscfg.cfg should have the paths to the directories where you will be getting all your headers from
    Based on what linux flavor & version of gcc you have the following directory will have the headers you are missing
    /usr/lib/gcc/ABC-XYZ-linux/<gcc_version_no>/include
    where ABC could be i386/i586 depending on the hardware and XYZ could be the linux flavor like redhat/suse/whatever you have

Maybe you are looking for